commit 7193c707832c07b83bfb418874bd88df6669fed5 Author: MSVSphere Packaging Team Date: Fri Oct 25 17:10:42 2024 +0300 import mptcpd-0.12-5.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb79fb9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mptcpd-0.12.tar.gz diff --git a/.mptcpd.metadata b/.mptcpd.metadata new file mode 100644 index 0000000..c3eae29 --- /dev/null +++ b/.mptcpd.metadata @@ -0,0 +1 @@ +c1403b83fac20bc17fce199f2f7f741d6a9376bc SOURCES/mptcpd-0.12.tar.gz diff --git a/SPECS/mptcpd.spec b/SPECS/mptcpd.spec new file mode 100644 index 0000000..29d722d --- /dev/null +++ b/SPECS/mptcpd.spec @@ -0,0 +1,143 @@ +Summary: Multipath TCP daemon +Name: mptcpd +Version: 0.12 +Release: 5%{?dist} +License: GPL-2.0-or-later AND BSD-3-Clause +URL: https://multipath-tcp.org +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +BuildRequires: make +BuildRequires: gcc +BuildRequires: libtool +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: autoconf-archive +BuildRequires: libell-devel +BuildRequires: systemd-units +BuildRequires: systemd-rpm-macros + +Source0: https://github.com/multipath-tcp/mptcpd/archive/v%{version}/%{name}-%{version}.tar.gz + +%description +The Multipath TCP Daemon is a daemon for Linux based operating systems that +performs multipath TCP path management related operations in user space. It +interacts with the Linux kernel through a generic netlink connection to track +per-connection information (e.g. available remote addresses), available network +interfaces, request new MPTCP subflows, handle requests for subflows, etc. + +%package devel +Summary: MPTCP path manager header files +Group: Development/Libraries +Requires: pkgconfig +Requires: %{name}%{?_isa} = %{version}-%{release} +License: BSD-3-Clause + +%description devel +Header files for adding MPTCP path manager support to applications + +%prep +%autosetup -p1 + +%build +autoreconf --install --symlink --force +%configure --enable-debug=info +%make_build V=1 + +%install +install -d %{buildroot}/%{_libexecdir} +install -d %{buildroot}/%{_mandir}/man8 +install -d %{buildroot}/%{_sysconfdir}/%{name} +install -d %{buildroot}/%{_unitdir} +install -d %{buildroot}/%{_libdir}/%{name} +install -d %{buildroot}/%{_includedir}/%{name} +%make_install +sed -i '/^# addr-flags=subflow/s/^# //g' %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf +sed -i '/^# notify-flags=existing,skip_link_local,skip_loopback/s/^# //g' %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig +%systemd_postun mptcp.service + +%files +%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf +%dir %{_sysconfdir}/%{name} +%dir %{_libdir}/%{name} +%dir %{_libdir}/mptcpize +%{_libdir}/libmptcpd.so.* +%{_libdir}/%{name}/*.so +%{_libdir}/mptcpize/libmptcpwrap.so* +%{_libexecdir}/%{name} +%{_bindir}/mptcpize +%{_unitdir}/mptcp.service +%{_mandir}/man8/%{name}.8.gz +%{_mandir}/man8/mptcpize.8.gz +# todo add %doc +%license COPYING + +%files devel +%doc COPYING +%dir %{_includedir}/%{name} +%{_libdir}/*.so +%{_includedir}/mptcpd/*.h +%{_libdir}/pkgconfig/mptcpd.pc + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 0.12-5 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 0.12-5 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 0.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 0.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Feb 22 2023 Davide Caratti - 0.12-1 +- SPDX migration +- update to version 0.12 + +* Thu Jan 19 2023 Fedora Release Engineering - 0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 0.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jun 30 2022 Davide Caratti - 0.10-1 +- update to version 0.10 +- fix build caused by UAPI headers + +* Mon Feb 21 2022 Davide Caratti - 0.9-1 +- update to version 0.9 +- fix reported FTBFS bug in rawhide + +* Thu Jan 20 2022 Fedora Release Engineering - 0.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 30 2021 Davide Caratti - 0.8-2 +- fix addr_adv plugin defaults + +* Mon Sep 27 2021 Davide Caratti - 0.8-1 +- update to version 0.8 + +* Thu Jul 22 2021 Fedora Release Engineering - 0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Apr 19 2021 Davide Caratti - 0.7-1 +- update to version 0.7 + +* Tue Feb 23 2021 Davide Caratti - 0.6-1 +- update to version 0.6 + +* Tue Jan 26 2021 Fedora Release Engineering - 0.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 20 2021 Davide Caratti - 0.5.1-1 +- initial build