|
|
@@ -1,16 +1,17 @@
|
|
|
|
%global frrversion 7.4
|
|
|
|
%global frrversion 7.5.1-20210724-11-ge89a9fc95
|
|
|
|
%global frr_libdir /usr/lib/frr
|
|
|
|
%global frr_libdir /usr/lib/frr
|
|
|
|
|
|
|
|
%global checkout .st.4
|
|
|
|
|
|
|
|
|
|
|
|
%global _hardened_build 1
|
|
|
|
%global _hardened_build 1
|
|
|
|
%define _legacy_common_support 1
|
|
|
|
%define _legacy_common_support 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: frr
|
|
|
|
Name: frr
|
|
|
|
Version: 7.4
|
|
|
|
Version: 7.5.1
|
|
|
|
Release: 1%{?checkout}%{?dist}
|
|
|
|
Release: 3%{?checkout}%{?dist}
|
|
|
|
Summary: Routing daemon
|
|
|
|
Summary: Routing daemon
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.frrouting.org
|
|
|
|
URL: http://www.frrouting.org
|
|
|
|
Source0: https://github.com/FRRouting/frr/releases/download/%{name}-%{frrversion}/%{name}-%{frrversion}.tar.gz
|
|
|
|
Source0: https://github.com/FRRouting/frr/releases/download/%{name}-%{frrversion}/%{name}-%{frrversion}.tar.xz
|
|
|
|
Source1: %{name}-tmpfiles.conf
|
|
|
|
Source1: %{name}-tmpfiles.conf
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
@@ -34,7 +35,6 @@ Patch0001: 0001-use-python3.patch
|
|
|
|
Patch0002: 0002-enable-openssl.patch
|
|
|
|
Patch0002: 0002-enable-openssl.patch
|
|
|
|
Patch0003: 0003-disable-eigrp-crypto.patch
|
|
|
|
Patch0003: 0003-disable-eigrp-crypto.patch
|
|
|
|
Patch0004: 0004-fips-mode.patch
|
|
|
|
Patch0004: 0004-fips-mode.patch
|
|
|
|
Patch0006: 0006-python-version.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
FRRouting is free software that manages TCP/IP based routing protocols. It takes
|
|
|
|
FRRouting is free software that manages TCP/IP based routing protocols. It takes
|
|
|
@@ -46,7 +46,7 @@ FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP
|
|
|
|
FRRouting is a fork of Quagga.
|
|
|
|
FRRouting is a fork of Quagga.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -S git
|
|
|
|
%autosetup -S git -n %{name}-%{frrversion}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -ivf
|
|
|
|
autoreconf -ivf
|
|
|
@@ -73,6 +73,7 @@ autoreconf -ivf
|
|
|
|
--disable-babeld \
|
|
|
|
--disable-babeld \
|
|
|
|
--with-moduledir=%{_libdir}/frr/modules \
|
|
|
|
--with-moduledir=%{_libdir}/frr/modules \
|
|
|
|
--with-crypto=openssl \
|
|
|
|
--with-crypto=openssl \
|
|
|
|
|
|
|
|
--with-vici-socket=/run/strongswan/charon.vici \
|
|
|
|
--enable-fpm
|
|
|
|
--enable-fpm
|
|
|
|
|
|
|
|
|
|
|
|
%make_build MAKEINFO="makeinfo --no-split" PYTHON=%{__python3}
|
|
|
|
%make_build MAKEINFO="makeinfo --no-split" PYTHON=%{__python3}
|
|
|
@@ -133,6 +134,13 @@ if [ ! -e %{_sysconfdir}/frr/frr.conf ]; then
|
|
|
|
chmod 640 %{_sysconfdir}/frr/frr.conf
|
|
|
|
chmod 640 %{_sysconfdir}/frr/frr.conf
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#still used by vtysh, this way no error is produced when using vtysh
|
|
|
|
|
|
|
|
if [ ! -e %{_sysconfdir}/frr/vtysh.conf ]; then
|
|
|
|
|
|
|
|
touch %{_sysconfdir}/frr/vtysh.conf
|
|
|
|
|
|
|
|
chmod 640 %{_sysconfdir}/frr/vtysh.conf
|
|
|
|
|
|
|
|
chown frr:frrvty %{_sysconfdir}/frr/vtysh.conf
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart frr.service
|
|
|
|
%systemd_postun_with_restart frr.service
|
|
|
|
|
|
|
|
|
|
|
@@ -161,7 +169,7 @@ make check PYTHON=%{__python3}
|
|
|
|
%doc ripngd/ripngd.conf.sample
|
|
|
|
%doc ripngd/ripngd.conf.sample
|
|
|
|
%doc pimd/pimd.conf.sample
|
|
|
|
%doc pimd/pimd.conf.sample
|
|
|
|
%doc doc/mpls
|
|
|
|
%doc doc/mpls
|
|
|
|
%dir %attr(640,frr,frr) %{_sysconfdir}/frr
|
|
|
|
%dir %attr(750,frr,frr) %{_sysconfdir}/frr
|
|
|
|
%dir %attr(755,frr,frr) /var/log/frr
|
|
|
|
%dir %attr(755,frr,frr) /var/log/frr
|
|
|
|
%dir %attr(755,frr,frr) /run/frr
|
|
|
|
%dir %attr(755,frr,frr) /run/frr
|
|
|
|
%{_infodir}/*info*
|
|
|
|
%{_infodir}/*info*
|
|
|
@@ -180,9 +188,18 @@ make check PYTHON=%{__python3}
|
|
|
|
%dir /usr/share/yang
|
|
|
|
%dir /usr/share/yang
|
|
|
|
/usr/share/yang/*.yang
|
|
|
|
/usr/share/yang/*.yang
|
|
|
|
%{_tmpfilesdir}/%{name}.conf
|
|
|
|
%{_tmpfilesdir}/%{name}.conf
|
|
|
|
#%%{_libdir}/frr/frr/libyang_plugins/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 23 2021 Michal Ruprich <mruprich@redhat.com> - 7.5.1-2
|
|
|
|
|
|
|
|
- Fixing permissions on config files in /etc/frr
|
|
|
|
|
|
|
|
- Enabling integrated configuration option for frr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 16 2021 Michal Ruprich <mruprich@redhat.com> - 7.5.1-1
|
|
|
|
|
|
|
|
- New version 7.5.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 01 2021 Michal Ruprich <mruprich@redhat.com> - 7.5-1
|
|
|
|
|
|
|
|
- New version 7.5
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 21 2020 Michal Ruprich <mruprich@redhat.com> - 7.4-1
|
|
|
|
* Mon Sep 21 2020 Michal Ruprich <mruprich@redhat.com> - 7.4-1
|
|
|
|
- New version 7.4
|
|
|
|
- New version 7.4
|
|
|
|
|
|
|
|
|
|
|
@@ -192,14 +209,14 @@ make check PYTHON=%{__python3}
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-3
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2020 Michal Ruprich <michalruprich@gmail.com> - 7.3.1-1
|
|
|
|
* Thu Jun 18 2020 Michal Ruprich <mruprich@redhat.com.com> - 7.3.1-1
|
|
|
|
- New version 7.3.1
|
|
|
|
- New version 7.3.1
|
|
|
|
- Fixes a couple of bugs(#1832259, #1835039, #1830815, #1830808, #1830806, #1830800, #1830798, #1814773)
|
|
|
|
- Fixes a couple of bugs(#1832259, #1835039, #1830815, #1830808, #1830806, #1830800, #1830798, #1814773)
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 19 2020 Michal Ruprich <michalruprich@gmail.com> - 7.3-6
|
|
|
|
* Tue May 19 2020 Michal Ruprich <mruprich@redhat.com.com> - 7.3-6
|
|
|
|
- Removing texi2html, it is not available in Rawhide anymore
|
|
|
|
- Removing texi2html, it is not available in Rawhide anymore
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 18 2020 Michal Ruprich <michalruprich@gmail.com> - 7.3-5
|
|
|
|
* Mon May 18 2020 Michal Ruprich <mruprich@redhat.com.com> - 7.3-5
|
|
|
|
- Rebuild for new version of libyang
|
|
|
|
- Rebuild for new version of libyang
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 7.3-4
|
|
|
|
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 7.3-4
|
|
|
|