Blame SPECS/mptcpd.spec

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