Compare commits
4 Commits
frr-10.4.1
...
frr-10.3-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a74c785937 | ||
| 84433eccc7 | |||
|
|
7f0d21f10e | ||
|
|
f1bf8a9231 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -24,4 +24,3 @@
|
|||||||
/frr-10.2.tar.gz
|
/frr-10.2.tar.gz
|
||||||
/frr-10.2.1.tar.gz
|
/frr-10.2.1.tar.gz
|
||||||
/frr-10.3.tar.gz
|
/frr-10.3.tar.gz
|
||||||
/frr-10.4.0.tar.gz
|
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ index 0b7af18..0533e24 100644
|
|||||||
lib/log_vty.h \
|
lib/log_vty.h \
|
||||||
- lib/md5.h \
|
- lib/md5.h \
|
||||||
lib/memory.h \
|
lib/memory.h \
|
||||||
|
lib/mgmt.pb-c.h \
|
||||||
lib/mgmt_be_client.h \
|
lib/mgmt_be_client.h \
|
||||||
lib/mgmt_defines.h \
|
|
||||||
@@ -191,7 +190,6 @@ pkginclude_HEADERS += \
|
@@ -191,7 +190,6 @@ pkginclude_HEADERS += \
|
||||||
lib/route_opaque.h \
|
lib/route_opaque.h \
|
||||||
lib/sbuf.h \
|
lib/sbuf.h \
|
||||||
|
|||||||
16
0006-s390x-endianness-test.patch
Normal file
16
0006-s390x-endianness-test.patch
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/tests/lib/northbound/test_oper_data.c b/tests/lib/northbound/test_oper_data.c
|
||||||
|
index 0b334c6..f66b78d 100644
|
||||||
|
--- a/tests/lib/northbound/test_oper_data.c
|
||||||
|
+++ b/tests/lib/northbound/test_oper_data.c
|
||||||
|
@@ -253,9 +253,10 @@ static enum nb_error frr_test_module_c2cont_c2value_get(const struct nb_node *nb
|
||||||
|
struct lyd_node *parent)
|
||||||
|
{
|
||||||
|
const struct lysc_node *snode = nb_node->snode;
|
||||||
|
- uint32_t value = 0xAB010203;
|
||||||
|
+ uint32_t value = htole32(0xAB010203);
|
||||||
|
LY_ERR err;
|
||||||
|
|
||||||
|
+ /* Note that this api expects 'value' to be in little-endian form */
|
||||||
|
err = lyd_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
|
||||||
|
LYD_NEW_PATH_UPDATE, NULL);
|
||||||
|
assert(err == LY_SUCCESS);
|
||||||
46
frr.spec
46
frr.spec
@@ -10,7 +10,7 @@
|
|||||||
%bcond selinux 1
|
%bcond selinux 1
|
||||||
|
|
||||||
Name: frr
|
Name: frr
|
||||||
Version: 10.4.1
|
Version: 10.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Routing daemon
|
Summary: Routing daemon
|
||||||
License: GPL-2.0-or-later AND ISC AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-2.0-or-later OR ISC) AND MIT
|
License: GPL-2.0-or-later AND ISC AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-2.0-or-later OR ISC) AND MIT
|
||||||
@@ -28,6 +28,7 @@ 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
|
||||||
Patch0005: 0005-remove-grpc-test.patch
|
Patch0005: 0005-remove-grpc-test.patch
|
||||||
|
Patch0006: 0006-s390x-endianness-test.patch
|
||||||
|
|
||||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||||
%if %{undefined fc40} && %{undefined fc41}
|
%if %{undefined fc40} && %{undefined fc41}
|
||||||
@@ -51,14 +52,13 @@ BuildRequires: json-c-devel
|
|||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxcrypt-devel
|
BuildRequires: libxcrypt-devel
|
||||||
BuildRequires: libyang-devel >= 2.1.128
|
BuildRequires: libyang-devel >= 2.0.0
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: ncurses
|
BuildRequires: ncurses
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: patch
|
BuildRequires: patch
|
||||||
BuildRequires: pcre2-devel
|
|
||||||
BuildRequires: perl-XML-LibXML
|
BuildRequires: perl-XML-LibXML
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@@ -73,6 +73,7 @@ BuildRequires: protobuf-c-devel
|
|||||||
Requires: ncurses
|
Requires: ncurses
|
||||||
Requires: net-snmp
|
Requires: net-snmp
|
||||||
Requires(post): hostname
|
Requires(post): hostname
|
||||||
|
%{?sysusers_requires_compat}
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@@ -119,12 +120,11 @@ sed -r -i 's/(AX_CXX_COMPILE_STDCXX\(\[)11(\])/\117\2/' configure.ac
|
|||||||
%build
|
%build
|
||||||
#hopefully just temporary due to rhbz#2327314
|
#hopefully just temporary due to rhbz#2327314
|
||||||
export LDFLAGS="%{build_ldflags} -Wl,-z,noseparate-code"
|
export LDFLAGS="%{build_ldflags} -Wl,-z,noseparate-code"
|
||||||
export CFLAGS="%{optflags} -DINET_NTOP_NO_OVERRIDE"
|
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--sbindir=%{frr_libdir} \
|
--sbindir=%{frr_libdir} \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--sysconfdir=%{_sysconfdir}/frr \
|
||||||
--libdir=%{_libdir}/frr \
|
--libdir=%{_libdir}/frr \
|
||||||
--libexecdir=%{_libexecdir}/frr \
|
--libexecdir=%{_libexecdir}/frr \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
@@ -137,6 +137,8 @@ autoreconf -ivf
|
|||||||
--enable-group=frr \
|
--enable-group=frr \
|
||||||
--enable-vty-group=frrvty \
|
--enable-vty-group=frrvty \
|
||||||
--enable-rtadv \
|
--enable-rtadv \
|
||||||
|
--disable-exampledir \
|
||||||
|
--enable-systemd=yes \
|
||||||
--enable-static=no \
|
--enable-static=no \
|
||||||
--disable-ldpd \
|
--disable-ldpd \
|
||||||
--disable-babeld \
|
--disable-babeld \
|
||||||
@@ -145,7 +147,6 @@ autoreconf -ivf
|
|||||||
--with-crypto=openssl \
|
--with-crypto=openssl \
|
||||||
--with-vici-socket=/run/strongswan/charon.vici \
|
--with-vici-socket=/run/strongswan/charon.vici \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
--enable-pcre2posix \
|
|
||||||
%{?with_grpc:--enable-grpc}
|
%{?with_grpc:--enable-grpc}
|
||||||
|
|
||||||
%make_build MAKEINFO="makeinfo --no-split" PYTHON=%{__python3}
|
%make_build MAKEINFO="makeinfo --no-split" PYTHON=%{__python3}
|
||||||
@@ -161,8 +162,8 @@ bzip2 -9 selinux/%{name}.pp
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/{frr,rc.d/init.d,sysconfig,logrotate.d,pam.d,default} \
|
mkdir -p %{buildroot}%{_sysconfdir}/{frr,rc.d/init.d,sysconfig,logrotate.d,pam.d,default} \
|
||||||
%{buildroot}%{_localstatedir}/log/frr %{buildroot}%{_localstatedir}/lib/frr \
|
%{buildroot}%{_localstatedir}/log/frr %{buildroot}%{_infodir} \
|
||||||
%{buildroot}%{_infodir} %{buildroot}%{_unitdir}
|
%{buildroot}%{_unitdir}
|
||||||
|
|
||||||
mkdir -p -m 0755 %{buildroot}%{_libdir}/frr
|
mkdir -p -m 0755 %{buildroot}%{_libdir}/frr
|
||||||
mkdir -p %{buildroot}%{_tmpfilesdir}
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||||
@@ -198,6 +199,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
rm %{buildroot}%{_libdir}/frr/*.so
|
rm %{buildroot}%{_libdir}/frr/*.so
|
||||||
rm -r %{buildroot}%{_includedir}/frr/
|
rm -r %{buildroot}%{_includedir}/frr/
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%sysusers_create_compat %{SOURCE2}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post frr.service
|
%systemd_post frr.service
|
||||||
@@ -232,8 +235,8 @@ fi
|
|||||||
%selinux_relabel_post -s %{selinuxtype}
|
%selinux_relabel_post -s %{selinuxtype}
|
||||||
#/var/tmp and /var/run need to be relabeled as well if FRR is running before upgrade
|
#/var/tmp and /var/run need to be relabeled as well if FRR is running before upgrade
|
||||||
if [ $1 == 2 ]; then
|
if [ $1 == 2 ]; then
|
||||||
%{_sbindir}/restorecon -R /var/tmp/frr &> /dev/null || :
|
%{_sbindir}/restorecon -R /var/tmp/frr &> /dev/null
|
||||||
%{_sbindir}/restorecon -R /var/run/frr &> /dev/null || :
|
%{_sbindir}/restorecon -R /var/run/frr &> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun selinux
|
%postun selinux
|
||||||
@@ -253,7 +256,6 @@ rm tests/lib/*grpc*
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc doc/mpls
|
%doc doc/mpls
|
||||||
%dir %attr(750,frr,frr) %{_sysconfdir}/frr
|
%dir %attr(750,frr,frr) %{_sysconfdir}/frr
|
||||||
%dir %attr(755,frr,frr) %{_localstatedir}/lib/frr
|
|
||||||
%dir %attr(755,frr,frr) %{_localstatedir}/log/frr
|
%dir %attr(755,frr,frr) %{_localstatedir}/log/frr
|
||||||
%dir %attr(755,frr,frr) /run/frr
|
%dir %attr(755,frr,frr) /run/frr
|
||||||
%{_infodir}/*info*
|
%{_infodir}/*info*
|
||||||
@@ -286,31 +288,9 @@ rm tests/lib/*grpc*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jul 29 2025 Michal Ruprich <mruprich@redhat.com> - 10.4.0-2
|
|
||||||
- Improving the %post scriptlet in frr-selinux
|
|
||||||
|
|
||||||
* Mon Jul 28 2025 Michal Ruprich <mruprich@redhat.com> - 10.4.0-1
|
|
||||||
- New version 10.4.0
|
|
||||||
|
|
||||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 10.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 02 2025 Michal Ruprich <mruprich@redhat.com> - 10.3
|
* Mon Jun 02 2025 Michal Ruprich <mruprich@redhat.com> - 10.3
|
||||||
- New version 10.3
|
- New version 10.3
|
||||||
|
|
||||||
* Tue Feb 25 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 10.2.1-5
|
|
||||||
- Rebuilt for abseil-cpp-20250127.0
|
|
||||||
|
|
||||||
* Thu Feb 13 2025 Alexey Kurov <nucleo@fedoraproject.org> - 10.2.1-4
|
|
||||||
- Removed unrecognized options enable-systemd and disable-exampledir
|
|
||||||
- Fixed sysconfdir option warning
|
|
||||||
- Added option for support of PCRE2
|
|
||||||
- Own local state file dir
|
|
||||||
- Minimum libyang version 2.1.128
|
|
||||||
|
|
||||||
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 10.2.1-3
|
|
||||||
- Drop call to %sysusers_create_compat
|
|
||||||
|
|
||||||
* Sat Feb 01 2025 Björn Esser <besser82@fedoraproject.org> - 10.2.1-2
|
* Sat Feb 01 2025 Björn Esser <besser82@fedoraproject.org> - 10.2.1-2
|
||||||
- Add explicit BR: libxcrypt-devel
|
- Add explicit BR: libxcrypt-devel
|
||||||
|
|
||||||
|
|||||||
2
sources
2
sources
@@ -1,2 +1,2 @@
|
|||||||
|
SHA512 (frr-10.3.tar.gz) = 6ea651f20c3957f5a7523e7cb316327ac5914154a31ed92e8ac5bb55e75eab2e1da3ddf255de5e669906946caa5c82b78bb769c3869e2f800f5bd3782963198c
|
||||||
SHA512 (remove-babeld-ldpd.sh) = a5bf67a3722cb20d43cef1dac28f839db68df73a1b7d34d8438e4f9366da3b67d85c1f44281f93434e8dd8ebcb2d3dc258b77eaa5627475b7395d207f020839d
|
SHA512 (remove-babeld-ldpd.sh) = a5bf67a3722cb20d43cef1dac28f839db68df73a1b7d34d8438e4f9366da3b67d85c1f44281f93434e8dd8ebcb2d3dc258b77eaa5627475b7395d207f020839d
|
||||||
SHA512 (frr-10.4.0.tar.gz) = 705cde41c6ce882fda5044133cf053047a6f9f9c4e7c511d965f62669ccf6776409b2dcda98d23dd297d5679b4475c3efeb50be042f059210d2ec453a7cce7bc
|
|
||||||
|
|||||||
Reference in New Issue
Block a user