|
|
f8071f |
Summary: Multipath TCP daemon
|
|
|
f8071f |
Name: mptcpd
|
|
|
9a787a |
Version: 0.8
|
|
|
0d2bc5 |
Release: 3%{?dist}
|
|
|
f8071f |
License: BSD
|
|
|
f8071f |
URL: https://multipath-tcp.org
|
|
|
f8071f |
Requires(post): systemd
|
|
|
f8071f |
Requires(preun): systemd
|
|
|
f8071f |
Requires(postun): systemd
|
|
|
f8071f |
BuildRequires: make
|
|
|
f8071f |
BuildRequires: gcc
|
|
|
f8071f |
BuildRequires: libtool
|
|
|
f8071f |
BuildRequires: automake
|
|
|
f8071f |
BuildRequires: autoconf
|
|
|
f8071f |
BuildRequires: autoconf-archive
|
|
|
f8071f |
BuildRequires: libell-devel
|
|
|
f8071f |
BuildRequires: systemd-units
|
|
|
f8071f |
BuildRequires: systemd-rpm-macros
|
|
|
f8071f |
|
|
|
f8071f |
Source0: https://github.com/intel/mptcpd/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
f8071f |
|
|
|
0d2bc5 |
Patch2: workaround-build-issues-uapi.patch
|
|
|
f8071f |
Patch3: 0003-fix-multilib-install.patch
|
|
|
0c0d28 |
Patch4: 0001-mptcpize-force-MPTCP-usage-for-IPPROTO_IP-too-159.patch
|
|
|
0c0d28 |
Patch5: 0001-mptcpize-use-explicit-file-copy-instead-of-rename-16.patch
|
|
|
f8071f |
|
|
|
f8071f |
%description
|
|
|
f8071f |
The Multipath TCP Daemon is a daemon for Linux based operating systems that
|
|
|
f8071f |
performs multipath TCP path management related operations in user space. It
|
|
|
f8071f |
interacts with the Linux kernel through a generic netlink connection to track
|
|
|
f8071f |
per-connection information (e.g. available remote addresses), available network
|
|
|
f8071f |
interfaces, request new MPTCP subflows, handle requests for subflows, etc.
|
|
|
f8071f |
|
|
|
f8071f |
%package devel
|
|
|
f8071f |
Summary: MPTCP path manager header files
|
|
|
f8071f |
Group: Development/Libraries
|
|
|
f8071f |
Requires: pkgconfig
|
|
|
f8071f |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
f8071f |
License: BSD
|
|
|
f8071f |
|
|
|
f8071f |
%description devel
|
|
|
f8071f |
Header files for adding MPTCP path manager support to applications
|
|
|
f8071f |
|
|
|
f8071f |
%prep
|
|
|
f8071f |
%autosetup -p1
|
|
|
f8071f |
|
|
|
f8071f |
%build
|
|
|
f8071f |
autoreconf --install --symlink --force
|
|
|
f8071f |
%configure --enable-debug=info
|
|
|
f8071f |
%make_build V=1
|
|
|
f8071f |
|
|
|
f8071f |
%install
|
|
|
f8071f |
install -d %{buildroot}/%{_libexecdir}
|
|
|
f8071f |
install -d %{buildroot}/%{_mandir}/man8
|
|
|
f8071f |
install -d %{buildroot}/%{_sysconfdir}/%{name}
|
|
|
f8071f |
install -d %{buildroot}/%{_unitdir}
|
|
|
f8071f |
install -d %{buildroot}/%{_libdir}/%{name}
|
|
|
f8071f |
install -d %{buildroot}/%{_includedir}/%{name}
|
|
|
f8071f |
%make_install
|
|
|
9a787a |
sed -i '/^# addr-flags=subflow/s/^# //g' %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf
|
|
|
9a787a |
sed -i '/^# notify-flags=existing,skip_link_local,skip_loopback/s/^# //g' %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf
|
|
|
f8071f |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
f8071f |
|
|
|
f8071f |
%post -p /sbin/ldconfig
|
|
|
f8071f |
|
|
|
f8071f |
%postun -p /sbin/ldconfig
|
|
|
f8071f |
%systemd_postun mptcp.service
|
|
|
f8071f |
|
|
|
f8071f |
%files
|
|
|
f8071f |
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
f8071f |
%dir %{_sysconfdir}/%{name}
|
|
|
f8071f |
%dir %{_libdir}/%{name}
|
|
|
f8071f |
%{_libdir}/libmptcpd.so.*
|
|
|
f8071f |
%{_libdir}/%{name}/*.so
|
|
|
9a787a |
%{_libdir}/%{name}/libmptcpwrap.so*
|
|
|
f8071f |
%{_libexecdir}/%{name}
|
|
|
9a787a |
%{_bindir}/mptcpize
|
|
|
f8071f |
%{_unitdir}/mptcp.service
|
|
|
f8071f |
%{_mandir}/man8/%{name}.8.gz
|
|
|
9a787a |
%{_mandir}/man8/mptcpize.8.gz
|
|
|
f8071f |
# todo add %doc
|
|
|
f8071f |
%license COPYING
|
|
|
f8071f |
|
|
|
f8071f |
%files devel
|
|
|
f8071f |
%doc COPYING
|
|
|
f8071f |
%dir %{_includedir}/%{name}
|
|
|
f8071f |
%{_libdir}/*.so
|
|
|
f8071f |
%{_includedir}/mptcpd/*.h
|
|
|
f8071f |
%{_libdir}/pkgconfig/mptcpd.pc
|
|
|
f8071f |
|
|
|
f8071f |
%changelog
|
|
|
0d2bc5 |
* Wed Jul 6 2022 Davide Caratti <dcaratti@redhat.com> - 0.8-3
|
|
|
0d2bc5 |
- workaround for uAPI header build issue
|
|
|
0d2bc5 |
|
|
|
0c0d28 |
* Tue Nov 30 2021 Davide Caratti <dcaratti@redhat.com> - 0.8-2
|
|
|
0c0d28 |
- fix mptcpize to work also when protocol number is 0 (upstream issue #159)
|
|
|
0c0d28 |
and when command resides in another file system (upstream issue #161)
|
|
|
0c0d28 |
Related: rhbz#2015623
|
|
|
0c0d28 |
|
|
|
9a787a |
* Wed Sep 29 2021 Davide Caratti <dcaratti@redhat.com> - 0.8-1
|
|
|
9a787a |
- update to version 0.8
|
|
|
9a787a |
|
|
|
f8071f |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7-3
|
|
|
f8071f |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f8071f |
Related: rhbz#1991688
|
|
|
f8071f |
|
|
|
f8071f |
* Wed Jun 23 2021 Davide Caratti <dcaratti@redhat.com> - 0.7-2
|
|
|
f8071f |
- add a simple sanity test and enable gating. Related: rhbz#1962741
|
|
|
f8071f |
- don't overwrite global build options. Related: rhbz#1967697
|
|
|
f8071f |
- fix 'check_conflicts' on multilib. Related: rhbz#1967697
|
|
|
f8071f |
|
|
|
f8071f |
* Wed Apr 28 2021 Davide Caratti <dcaratti@redhat.com> - 0.7-1
|
|
|
f8071f |
- update to version 0.7
|
|
|
f8071f |
|
|
|
f8071f |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6-2
|
|
|
f8071f |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
f8071f |
|
|
|
f8071f |
* Wed Mar 17 2021 Davide Caratti <dcaratti@redhat.com> - 0.6-1
|
|
|
f8071f |
- update to version 0.6
|
|
|
f8071f |
|
|
|
f8071f |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
|
|
|
f8071f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f8071f |
|
|
|
f8071f |
* Wed Jan 20 2021 Davide Caratti <dcaratti@redhat.com> - 0.5.1-1
|
|
|
f8071f |
- initial build
|