tstellar / rpms / usbmuxd

Forked from rpms/usbmuxd 3 years ago
Clone
3ef8fed
Name:          usbmuxd
Bastien Nocera b3044d5
Version:       1.1.1
Bastien Nocera b3044d5
Release:       1%{?dist}
8cbc5be
Summary:       Daemon for communicating with Apple's iOS devices
372c40c
# All code is dual licenses as GPLv3+ or GPLv2+, except libusbmuxd which is LGPLv2+.
5c2aa1a
License:       GPLv3+ or GPLv2+
Bastien Nocera 62aa09c
URL:           http://www.libimobiledevice.org/
690759a
Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
a3a6e71
9de5988
BuildRequires: gcc
5c2aa1a
BuildRequires: libimobiledevice-devel
78e6aee
BuildRequires: libplist-devel
8cbc5be
BuildRequires: libusbx-devel
5c2aa1a
BuildRequires: systemd
Bastien Nocera 5cf0e43
BuildRequires: autoconf libtool automake git
5c2aa1a
1676e83
Requires(pre): shadow-utils
690759a
Requires(post): systemd
690759a
Requires(preun): systemd
690759a
Requires(postun): systemd
a3a6e71
a3a6e71
%description
8cbc5be
usbmuxd is a daemon used for communicating with Apple's iPod Touch, iPhone, 
8cbc5be
iPad and Apple TV devices. It allows multiple services on the device to be 
8cbc5be
accessed simultaneously.
a3a6e71
a3a6e71
%prep
Bastien Nocera 32df3d7
%autosetup -p1 -S git_am
Bastien Nocera 14fc033
autoreconf -f -i
3709db2
3709db2
# Set the owner of the device node to be usbmuxd
5c2aa1a
sed -i.owner 's/OWNER="usbmux"/OWNER="usbmuxd"/' udev/39-usbmuxd.rules.in
fba5472
sed -i.user 's/--user usbmux/--user usbmuxd/' systemd/usbmuxd.service.in
a3a6e71
a3a6e71
%build
5c2aa1a
%configure
372c40c
5c2aa1a
make %{?_smp_mflags} V=1
a3a6e71
a3a6e71
%install
a3a6e71
make install DESTDIR=$RPM_BUILD_ROOT
372c40c
1676e83
%pre
c204e89
getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113
1676e83
getent passwd usbmuxd >/dev/null || \
1676e83
useradd -r -g usbmuxd -d / -s /sbin/nologin \
c204e89
	-c "usbmuxd user" -u 113 usbmuxd
1676e83
exit 0
1676e83
8cbc5be
%post
8cbc5be
%systemd_post usbmuxd.service
a3a6e71
8cbc5be
%preun
8cbc5be
%systemd_preun usbmuxd.service
8cbc5be
9e85c21
%postun
8cbc5be
%systemd_postun_with_restart usbmuxd.service 
8cbc5be
a3a6e71
%files
86a9907
%license COPYING.GPLv2 COPYING.GPLv3
Bastien Nocera 32df3d7
%doc AUTHORS README.md
fcf603f
%{_unitdir}/usbmuxd.service
e10d978
%{_udevrulesdir}/39-usbmuxd.rules
a3a6e71
%{_sbindir}/usbmuxd
Bastien Nocera 32df3d7
%{_datadir}/man/man8/usbmuxd.8.gz
a3a6e71
a3a6e71
%changelog
Bastien Nocera b3044d5
* Tue Jun 16 2020 Bastien Nocera <bnocera@redhat.com> - 1.1.1-1
Bastien Nocera b3044d5
+ usbmuxd-1.1.1-1
Bastien Nocera b3044d5
- Update to 1.1.1
Bastien Nocera b3044d5
a5f65c2
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-18
a5f65c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a5f65c2
Bastien Nocera 32df3d7
* Mon Nov 25 2019 Bastien Nocera <bnocera@redhat.com> - 1.1.0-17
Bastien Nocera 32df3d7
+ usbmuxd-1.1.0-17
Bastien Nocera 32df3d7
- Update to latest git snapshot
Bastien Nocera 32df3d7
7af0976
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-16
7af0976
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7af0976
4db2334
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
4db2334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4db2334
a9f1b5d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
a9f1b5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a9f1b5d
Bastien Nocera 14fc033
* Wed Apr 18 2018 Bastien Nocera <bnocera@redhat.com> - 1.1.0-13
Bastien Nocera 14fc033
+ usbmuxd-1.1.0-13
Bastien Nocera 14fc033
- Fix usbmuxd not starting up a second time, and properties being lost
Bastien Nocera 14fc033
  with kernel >= 4.12
Bastien Nocera 14fc033
9de5988
* Fri Mar  9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.0-12
9de5988
- Add gcc BR
9de5988
d5ef27e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
d5ef27e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d5ef27e
9a121e2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
9a121e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9a121e2
12eaa8c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
12eaa8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
12eaa8c
e10d978
* Tue May 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.0-8
e10d978
- Use _udevrulesdir macro
e10d978
a7c31a1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
a7c31a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a7c31a1
40a6ff4
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
40a6ff4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
40a6ff4
5492769
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
5492769
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5492769
3273ae8
* Wed Feb 11 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-4
3273ae8
- Rebuild (libimobiledevice)
3273ae8
86a9907
* Tue Feb  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-3
86a9907
- Use %%license
86a9907
6c2548d
* Tue Oct 21 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-2
6c2548d
- (rebuild)
6c2548d
d7df727
* Fri Oct 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-1
c911a51
- New stable 1.1.0 release
d7df727
30051c9
* Fri Oct 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-3
30051c9
- Bump for correct overrides
30051c9
fba5472
* Fri Oct 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-2
fba5472
- Refresh usbmuxd owner bits
fba5472
690759a
* Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-1
690759a
- New stable 1.0.9 release
690759a
Rex Dieter da9690d
* Tue Sep 09 2014 Rex Dieter <rdieter@fedoraproject.org> - 1.0.9-0.6.c24463e
Rex Dieter da9690d
- Obsoletes: usbmuxd < 1.0.9 (multilib upgrade path)
Rex Dieter da9690d
- move Obsoletes: usbmuxd-devel to libusbmuxd-devel
Rex Dieter da9690d
0bd4766
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-0.5.c24463e
0bd4766
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0bd4766
c7ede4b
* Wed Jul 30 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-0.4.c24463e
c7ede4b
- Add upstream patch for systemd support
c7ede4b
c441820
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-0.3.c24463e
c441820
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c441820
fcf603f
* Mon Apr 21 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-0.2
fcf603f
- Minor update
fcf603f
5c2aa1a
* Mon Apr 21 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-0.1
5c2aa1a
- Initial 1.0.9 snapshot
5c2aa1a
2768306
* Thu Oct 10 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 1.0.8-10
2768306
- Add BR: systemd for systemd.macros (RHBZ #1017493).
2768306
9e85c21
* Tue Oct 8  2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.8-9
9e85c21
- Fix rpm scripts
9e85c21
bf232f0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-8
bf232f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bf232f0
686ea75
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-7
686ea75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
686ea75
Bastien Nocera 62aa09c
* Mon Nov 19 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-6
Bastien Nocera 62aa09c
- Fix source URL
Bastien Nocera 62aa09c
8cbc5be
* Thu Oct  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.8-5
8cbc5be
- Make use of the new systemd macros
8cbc5be
- Minor updates to spec
8cbc5be
3767785
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-4
3767785
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3767785
Bastien Nocera 88c395a
* Mon Jul 09 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-3
Bastien Nocera 88c395a
- Use systemd to start usbmuxd instead of udev (#786853)
Bastien Nocera 88c395a
Bastien Nocera 9cecba4
* Sat Apr 28 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-2
Bastien Nocera 9cecba4
- Fix usbmuxd not starting under udev
Bastien Nocera 9cecba4
55f014a
* Mon Apr  9 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.8-1
55f014a
- New stable 1.0.8 release
55f014a
d3f13f3
* Thu Feb  2 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.7-3
d3f13f3
- Add debian patch for CVE-2012-0065. Fixes RHBZ 783523
d3f13f3
2bbc72f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
2bbc72f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2bbc72f
d3f13f3
* Tue Mar 22 2011 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.7-1
6922b3a
- New stable 1.0.7 release
6922b3a
db5078c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
db5078c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
db5078c
d3f13f3
* Sun Oct 24 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.6-1
fe47733
- New stable 1.0.6 release
fe47733
d3f13f3
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.5-1
3ef8fed
- New stable 1.0.5 release
3ef8fed
3709db2
* Fri May 28 2010 Bastien Nocera <bnocera@redhat.com> 1.0.4-3
3709db2
- Fix udev rule to use the usbmuxd user
3709db2
d3f13f3
* Wed May 12 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-2
c8e55e2
- Actually upload a source file
c8e55e2
d3f13f3
* Tue May 11 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-1
ff964ef
- New stable 1.0.4 release
ff964ef
d3f13f3
* Mon Mar 22 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1
e2960f1
- New stable 1.0.3 release
e2960f1
d3f13f3
* Thu Feb 11 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-1
02672bf
- New stable 1.0.2 release
02672bf
c204e89
* Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3
8b4024a
- Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above
c204e89
d3f13f3
* Fri Jan 29 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-2
1676e83
- Run deamon under the usbmuxd user
1676e83
d3f13f3
* Mon Dec  7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-1
6dca1f9
- New stable 1.0.0 release
6dca1f9
d3f13f3
* Sat Oct 31 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.1.rc2
7b9f801
- New 1.0.0-rc2 test release
7b9f801
d3f13f3
* Thu Oct 29 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.2.rc1
6a1d1fc
- Add patch to fix install of 64 bit libs
6a1d1fc
d3f13f3
* Tue Oct 27 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.1.rc1
372c40c
- New 1.0.0-rc1 test release
372c40c
337c249
* Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2
337c249
- Make usbmuxd autostart on newer kernels
337c249
- (Still doesn't exit properly though)
337c249
d3f13f3
* Mon Aug 10 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.4-1
a3a6e71
- Update to 0.1.4
a3a6e71
d3f13f3
* Tue Aug  4 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.3-1
a3a6e71
- Update to 0.1.3, review input
a3a6e71
d3f13f3
* Mon Aug  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.2-1
a3a6e71
- Update to 0.1.2
a3a6e71
d3f13f3
* Mon Aug  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.1-1
a3a6e71
- Initial packaging