From cc9fa0df48edc59a120b18ffc04ce9dfa3cbe34c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Mar 2014 15:05:07 +0000 Subject: [PATCH 01/32] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 5602cd6672e2cdc0dd4d4fed4f247d518c488dc0 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 27 Mar 2014 16:33:04 +0000 Subject: [PATCH 02/32] initial import --- .gitignore | 1 + libusbmuxd.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+) create mode 100644 libusbmuxd.spec diff --git a/.gitignore b/.gitignore index e69de29..9b24cb1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libusbmuxd-1.0.9.tar.bz2 diff --git a/libusbmuxd.spec b/libusbmuxd.spec new file mode 100644 index 0000000..7991d11 --- /dev/null +++ b/libusbmuxd.spec @@ -0,0 +1,75 @@ +Name: libusbmuxd +Version: 1.0.9 +Release: 1%{?dist} +Summary: Client library USB multiplex daemon for Apple's iOS devices + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.libimobiledevice.org/ +Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 + +BuildRequires: libplist-devel + +%description +libusbmuxd is the client library used for communicating with Apple's iPod Touch, +iPhone, iPad and Apple TV devices. It allows multiple services on the device +to be accessed simultaneously. + +%package utils +Summary: Utilities for communicating with Apple's iOS devices +Group: Applications/System +License: GPLv2+ +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description utils +Utilities for Apple's iOS devices + +%package devel +Summary: Development package for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Files for development with %{name}. + +%prep +%setup -q + +%build +%configure --disable-static + +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +make %{?_smp_mflags} V=1 + +%install +make install DESTDIR=%{buildroot} INSTALL='install -p' + +#Remove libtool archives. +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +%check +make check + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +# License is covered in README, upstream notified about COPYING files +# will be fixed in next release +%doc README AUTHORS +%{_libdir}/libusbmuxd.so.2* + +%files utils +%{_bindir}/iproxy + +%files devel +%{_includedir}/usbmuxd* +%{_libdir}/pkgconfig/libusbmuxd.pc +%{_libdir}/libusbmuxd.so + +%changelog +* Sat Mar 22 2014 Peter Robinson 1.0.9-1 +- Initial package diff --git a/sources b/sources index e69de29..aa14a27 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3f1d4bd0c0a1a4d7bf96219e117ec499 libusbmuxd-1.0.9.tar.bz2 From b6d2e886edeaf11aba18bc922c21cc7315534c62 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 24 Apr 2014 19:50:32 -0500 Subject: [PATCH 03/32] BR: libplist-devel >= 1.11 --- libusbmuxd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 7991d11..41d5b52 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -8,7 +8,7 @@ License: LGPLv2+ URL: http://www.libimobiledevice.org/ Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 -BuildRequires: libplist-devel +BuildRequires: libplist-devel >= 1.11 %description libusbmuxd is the client library used for communicating with Apple's iPod Touch, From e7f0fdf08e1fabf65cfd571f4f58d0358f3318b3 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 00:51:22 -0500 Subject: [PATCH 04/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 41d5b52..07e77ab 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -71,5 +71,8 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Mar 22 2014 Peter Robinson 1.0.9-1 - Initial package From f5752c1560c0ffe2af70df96c4d1246c72f9c70a Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 30 Jul 2014 16:08:45 +0100 Subject: [PATCH 05/32] minor spec cleanup --- libusbmuxd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 07e77ab..ac282e2 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -47,7 +47,7 @@ make %{?_smp_mflags} V=1 make install DESTDIR=%{buildroot} INSTALL='install -p' #Remove libtool archives. -find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -type f -name "*.la" -delete %check make check From 1179d4ac59c23fd96f62abea3f4161c6d8bf8845 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 06:33:32 +0000 Subject: [PATCH 06/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index ac282e2..55f37e3 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -71,6 +71,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 323c09e76412f458ea7625d0c4667b9f00cc1cbf Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 9 Sep 2014 20:33:28 -0500 Subject: [PATCH 07/32] devel: Obsoletes: usbmuxd-devel --- libusbmuxd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 55f37e3..bbfe5d9 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -28,6 +28,7 @@ Utilities for Apple's iOS devices Summary: Development package for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: usbmuxd-devel < 1.0.9 %description devel Files for development with %{name}. @@ -71,6 +72,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Tue Sep 09 2014 Rex Dieter 1.0.9-4 +- -devel: Obsoletes: usbmuxd-devel + * Sun Aug 17 2014 Fedora Release Engineering - 1.0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 281d8f7394ee05f1348a36b020a1572fe30be87a Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 15 Oct 2014 10:15:10 +0100 Subject: [PATCH 08/32] 1.0.10 --- .gitignore | 1 + libusbmuxd.spec | 13 +++++++------ sources | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 9b24cb1..42c4951 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libusbmuxd-1.0.9.tar.bz2 +/libusbmuxd-1.0.10.tar.bz2 diff --git a/libusbmuxd.spec b/libusbmuxd.spec index bbfe5d9..e81c0b8 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd -Version: 1.0.9 -Release: 4%{?dist} +Version: 1.0.10 +Release: 1%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -58,10 +58,8 @@ make check %postun -p /sbin/ldconfig %files -# License is covered in README, upstream notified about COPYING files -# will be fixed in next release -%doc README AUTHORS -%{_libdir}/libusbmuxd.so.2* +%doc README AUTHORS COPYING +%{_libdir}/libusbmuxd.so.4* %files utils %{_bindir}/iproxy @@ -72,6 +70,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Wed Oct 15 2014 Peter Robinson 1.0.10-1 +- Update to 1.0.10 + * Tue Sep 09 2014 Rex Dieter 1.0.9-4 - -devel: Obsoletes: usbmuxd-devel diff --git a/sources b/sources index aa14a27..19f8922 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3f1d4bd0c0a1a4d7bf96219e117ec499 libusbmuxd-1.0.9.tar.bz2 +e5351ff6f6eedcb50701e02d91cc480c libusbmuxd-1.0.10.tar.bz2 From 22ede29cf4f6c9339ffc5cfc967ad06f1b6ff080 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 3 Feb 2015 08:24:33 +0000 Subject: [PATCH 09/32] Use %%license --- libusbmuxd.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index e81c0b8..f290c4b 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -58,7 +58,9 @@ make check %postun -p /sbin/ldconfig %files -%doc README AUTHORS COPYING +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc README AUTHORS %{_libdir}/libusbmuxd.so.4* %files utils @@ -70,6 +72,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Tue Feb 3 2015 Peter Robinson 1.0.10-2 +- Use %%license + * Wed Oct 15 2014 Peter Robinson 1.0.10-1 - Update to 1.0.10 From a72422af0772ec8eac8be72b3e11123a4541fe5d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 17:30:38 +0000 Subject: [PATCH 10/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index f290c4b..e7a0b61 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -72,6 +72,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Feb 3 2015 Peter Robinson 1.0.10-2 - Use %%license From 7ff74f4e544710a2ac10ece895a96eef5a8a5ab9 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 4 Feb 2016 04:05:11 +0000 Subject: [PATCH 11/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index e7a0b61..c215d50 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -72,6 +72,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 1.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 86499251f38e4faeca3e4bdec692b363c5fc4d18 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 27 May 2016 09:50:11 +0100 Subject: [PATCH 12/32] CVE-2016-5104 --- CVE-2016-5104.patch | 31 +++++++++++++++++++++++++++++++ libusbmuxd.spec | 7 ++++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 CVE-2016-5104.patch diff --git a/CVE-2016-5104.patch b/CVE-2016-5104.patch new file mode 100644 index 0000000..8de02d8 --- /dev/null +++ b/CVE-2016-5104.patch @@ -0,0 +1,31 @@ +From 4397b3376dc4e4cb1c991d0aed61ce6482614196 Mon Sep 17 00:00:00 2001 +From: Joshua Hill +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); diff --git a/libusbmuxd.spec b/libusbmuxd.spec index c215d50..bcc750b 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,12 +1,13 @@ Name: libusbmuxd Version: 1.0.10 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries License: LGPLv2+ URL: http://www.libimobiledevice.org/ Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 +Patch0: CVE-2016-5104.patch BuildRequires: libplist-devel >= 1.11 @@ -35,6 +36,7 @@ Files for development with %{name}. %prep %setup -q +%patch0 -p1 -b .soc %build %configure --disable-static @@ -72,6 +74,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Fri May 27 2016 Peter Robinson 1.0.10-5 +- Fix CVE-2016-5104 + * Thu Feb 04 2016 Fedora Release Engineering - 1.0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 3c943c1e66dc4efbb3e57e9d4dec91ef3f02e819 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 19:37:58 +0000 Subject: [PATCH 13/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index bcc750b..d6f911e 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -74,6 +74,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri May 27 2016 Peter Robinson 1.0.10-5 - Fix CVE-2016-5104 From f5097bc3bd8523ec129f593ff4994cd44d9a3d80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 19:54:48 +0000 Subject: [PATCH 14/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index d6f911e..f154505 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -74,6 +74,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 1.0.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From be5f010bd94e12f153086a39707b9118b7aba326 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 02:27:13 +0000 Subject: [PATCH 15/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index f154505..c151d91 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -74,6 +74,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.10-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 1.0.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From e9153292d05119ea17a270f9a44dee6cc4d0a0cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 23:36:19 +0000 Subject: [PATCH 16/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index c151d91..33f458a 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -74,6 +74,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.10-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From d590371558d6e4b3b63e08e8e783debc2107ec48 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:48 +0200 Subject: [PATCH 17/32] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- libusbmuxd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 33f458a..a2604e5 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -9,6 +9,7 @@ URL: http://www.libimobiledevice.org/ Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 Patch0: CVE-2016-5104.patch +BuildRequires: gcc BuildRequires: libplist-devel >= 1.11 %description From 9a492e3b5e70d38c69953fb87ada58c4f378f225 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 08:59:35 +0000 Subject: [PATCH 18/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index a2604e5..14d9b61 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices Group: System Environment/Libraries @@ -75,6 +75,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.10-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.10-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From a00518a614206f2edee73c755710141de0cbba78 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:13 +0100 Subject: [PATCH 19/32] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libusbmuxd.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 14d9b61..0e03e55 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -56,9 +56,7 @@ find %{buildroot} -type f -name "*.la" -delete %check make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc} From d2678b2f33ef0529abee9cf9a6c426a12bdec39b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:52 +0100 Subject: [PATCH 20/32] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- libusbmuxd.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 0e03e55..2aced51 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -3,7 +3,6 @@ Version: 1.0.10 Release: 10%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices -Group: System Environment/Libraries License: LGPLv2+ URL: http://www.libimobiledevice.org/ Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 @@ -19,7 +18,6 @@ to be accessed simultaneously. %package utils Summary: Utilities for communicating with Apple's iOS devices -Group: Applications/System License: GPLv2+ Requires: %{name}%{?_isa} = %{version}-%{release} @@ -28,7 +26,6 @@ Utilities for Apple's iOS devices %package devel Summary: Development package for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: usbmuxd-devel < 1.0.9 From 178310f710302d936337a7a36d92f2077355b8a6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 08:27:39 +0000 Subject: [PATCH 21/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 2aced51..cbbab28 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -70,6 +70,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.10-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 1.0.10-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From cdf7dc185e3a2c896a035573712562d48422a33b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 14:38:10 +0000 Subject: [PATCH 22/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index cbbab28..76bddf3 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 1.0.10 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -70,6 +70,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.10-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 1.0.10-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 0c3a98f196459741a2f8f7c3dd9b64cf68060cec Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 25 Nov 2019 12:03:14 +0100 Subject: [PATCH 23/32] + libusbmuxd-2.0.0-1 Update to 2.0.0 --- .gitignore | 1 + CVE-2016-5104.patch | 31 ------------------------------- libusbmuxd.spec | 22 ++++++++++++++-------- sources | 2 +- 4 files changed, 16 insertions(+), 40 deletions(-) delete mode 100644 CVE-2016-5104.patch diff --git a/.gitignore b/.gitignore index 42c4951..963a14c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libusbmuxd-1.0.9.tar.bz2 /libusbmuxd-1.0.10.tar.bz2 +/2.0.0.tar.gz diff --git a/CVE-2016-5104.patch b/CVE-2016-5104.patch deleted file mode 100644 index 8de02d8..0000000 --- a/CVE-2016-5104.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 4397b3376dc4e4cb1c991d0aed61ce6482614196 Mon Sep 17 00:00:00 2001 -From: Joshua Hill -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); diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 76bddf3..a411cca 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,15 +1,15 @@ Name: libusbmuxd -Version: 1.0.10 -Release: 12%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ URL: http://www.libimobiledevice.org/ -Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 -Patch0: CVE-2016-5104.patch +Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz BuildRequires: gcc -BuildRequires: libplist-devel >= 1.11 +BuildRequires: libplist-devel >= 2.1.0 +BuildRequires: autoconf automake libtool %description libusbmuxd is the client library used for communicating with Apple's iPod Touch, @@ -34,7 +34,8 @@ Files for development with %{name}. %prep %setup -q -%patch0 -p1 -b .soc + +NOCONFIGURE=1 ./autogen.sh %build %configure --disable-static @@ -58,11 +59,12 @@ make check %files %{!?_licensedir:%global license %%doc} %license COPYING -%doc README AUTHORS -%{_libdir}/libusbmuxd.so.4* +%doc README.md AUTHORS +%{_libdir}/libusbmuxd.so.* %files utils %{_bindir}/iproxy +%{_bindir}/icat %files devel %{_includedir}/usbmuxd* @@ -70,6 +72,10 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Sat Nov 23 2019 Bastien Nocera - 2.0.0-1 ++ libusbmuxd-2.0.0-1 +- Update to 2.0.0 + * Thu Jul 25 2019 Fedora Release Engineering - 1.0.10-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 19f8922..05da477 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e5351ff6f6eedcb50701e02d91cc480c libusbmuxd-1.0.10.tar.bz2 +SHA512 (2.0.0.tar.gz) = 5e071210b548eac18c1356e41d5a71f961acdc5546cf6857884f218ade69d9700149133af68ead2ee23b2751a594d2d2d7d98048b3ecc29549a81a9aa3bafb80 From 5ed434d2c4ce2be0990effc5b56066ef7bf523b5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 10:40:34 +0000 Subject: [PATCH 24/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index a411cca..0a8b4b5 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -72,6 +72,9 @@ make check %{_libdir}/libusbmuxd.so %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Nov 23 2019 Bastien Nocera - 2.0.0-1 + libusbmuxd-2.0.0-1 - Update to 2.0.0 From 2c5974669cf459162e0342e9f6d08c1cb9d8f645 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 16 Jun 2020 14:18:09 +0200 Subject: [PATCH 25/32] + libusbmuxd-2.0.2-1 Update to 2.0.2 --- .gitignore | 1 + libusbmuxd.spec | 16 ++++++++++------ sources | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 963a14c..03a8c54 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /libusbmuxd-1.0.9.tar.bz2 /libusbmuxd-1.0.10.tar.bz2 /2.0.0.tar.gz +/2.0.2.tar.gz diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 0a8b4b5..df1be2d 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd -Version: 2.0.0 -Release: 2%{?dist} +Version: 2.0.2 +Release: 1%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -8,7 +8,7 @@ URL: http://www.libimobiledevice.org/ Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz BuildRequires: gcc -BuildRequires: libplist-devel >= 2.1.0 +BuildRequires: libplist-devel >= 2.2.0 BuildRequires: autoconf automake libtool %description @@ -60,7 +60,7 @@ make check %{!?_licensedir:%global license %%doc} %license COPYING %doc README.md AUTHORS -%{_libdir}/libusbmuxd.so.* +%{_libdir}/libusbmuxd-2.0.so.* %files utils %{_bindir}/iproxy @@ -68,10 +68,14 @@ make check %files devel %{_includedir}/usbmuxd* -%{_libdir}/pkgconfig/libusbmuxd.pc -%{_libdir}/libusbmuxd.so +%{_libdir}/pkgconfig/libusbmuxd-2.0.pc +%{_libdir}/libusbmuxd-2.0.so %changelog +* Tue Jun 16 2020 Bastien Nocera - 2.0.2-1 ++ libusbmuxd-2.0.2-1 +- Update to 2.0.2 + * Wed Jan 29 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 05da477..df4fa75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (2.0.0.tar.gz) = 5e071210b548eac18c1356e41d5a71f961acdc5546cf6857884f218ade69d9700149133af68ead2ee23b2751a594d2d2d7d98048b3ecc29549a81a9aa3bafb80 +SHA512 (2.0.2.tar.gz) = 9b64d5d47f958566432d5c94c51cc42bff0bb700c1d265ac507cfa31ac164fd52526725e9b1686922305c7ea4d3a0df6d469a8cf9a360bd9c22f55f5c8339500 From 8f55373c3522a83edf9ef147347e47f6ee7808d6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 16 Jun 2020 15:26:02 +0200 Subject: [PATCH 26/32] Rename icat tool to inetcat --- libusbmuxd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index df1be2d..b1dbfdf 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -64,7 +64,7 @@ make check %files utils %{_bindir}/iproxy -%{_bindir}/icat +%{_bindir}/inetcat %files devel %{_includedir}/usbmuxd* From 97da7b23705ec93f44bf3d45c3eebcc74ad7786d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 16 Jun 2020 15:31:18 +0200 Subject: [PATCH 27/32] Also package new man pages --- libusbmuxd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index b1dbfdf..51fcfc9 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -65,6 +65,7 @@ make check %files utils %{_bindir}/iproxy %{_bindir}/inetcat +%{_mandir}/man1/* %files devel %{_includedir}/usbmuxd* From 15263b0ea59d401906589a7f6542d0d9f621b6ce Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 22:40:59 +0000 Subject: [PATCH 28/32] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libusbmuxd.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 51fcfc9..19261db 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 2.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -43,10 +43,10 @@ NOCONFIGURE=1 ./autogen.sh sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} V=1 +%make_build %install -make install DESTDIR=%{buildroot} INSTALL='install -p' +%make_install #Remove libtool archives. find %{buildroot} -type f -name "*.la" -delete @@ -73,6 +73,10 @@ make check %{_libdir}/libusbmuxd-2.0.so %changelog +* Mon Jul 13 2020 Tom Stellard - 2.0.2-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jun 16 2020 Bastien Nocera - 2.0.2-1 + libusbmuxd-2.0.2-1 - Update to 2.0.2 From d7aed2c2c7bfc152007989addc9fe605406d9841 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 05:49:22 +0000 Subject: [PATCH 29/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 19261db..bdb0048 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 2.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -73,6 +73,9 @@ make check %{_libdir}/libusbmuxd-2.0.so %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 13 2020 Tom Stellard - 2.0.2-2 - Use make macros - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro From ab9760f2f07ccbae7901bbfe97ecbe720f1b65ad Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 5 Jan 2021 03:00:10 +0000 Subject: [PATCH 30/32] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- libusbmuxd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index bdb0048..9e26f1e 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -10,6 +10,7 @@ Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.ta BuildRequires: gcc BuildRequires: libplist-devel >= 2.2.0 BuildRequires: autoconf automake libtool +BuildRequires: make %description libusbmuxd is the client library used for communicating with Apple's iPod Touch, From 823ea726b7fd369d2d1811041070d282b30c53cb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 18:14:16 +0000 Subject: [PATCH 31/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 9e26f1e..97144b5 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 2.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -74,6 +74,9 @@ make check %{_libdir}/libusbmuxd-2.0.so %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 2.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 02aabb9c701d808b54144ab77c0a223cfe77b215 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 12:38:57 +0000 Subject: [PATCH 32/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libusbmuxd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 97144b5..4e7700f 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 2.0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -74,6 +74,9 @@ make check %{_libdir}/libusbmuxd-2.0.so %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild