Skip to content

Commit f4ed841

Browse files
authored
Merge pull request #8187 from opensourcerouting/rpmfixes-75
[7.5] CentOS Doc Fixes
2 parents 86d5a20 + 7a53486 commit f4ed841

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

doc/developer/building-frr-for-centos7.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,20 @@ CentOS 7 restrictions:
1414
Install required packages
1515
-------------------------
1616

17+
Add EPEL Repository:
18+
19+
::
20+
21+
sudo yum -y install epel-release
22+
1723
Add packages:
1824

1925
::
2026

21-
sudo yum install git autoconf automake libtool make \
27+
sudo yum install git autoconf automake libtool make cmake \
2228
readline-devel texinfo net-snmp-devel groff pkgconfig \
2329
json-c-devel pam-devel bison flex pytest c-ares-devel \
24-
python-devel systemd-devel python-sphinx libcap-devel
30+
python3-devel systemd-devel python3-sphinx libcap-devel
2531

2632
.. include:: building-libyang.rst
2733

doc/developer/packaging-redhat.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,17 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24.
4040
You should enable ``PowerTools`` repo if using CentOS 8 which
4141
is disabled by default.
4242

43-
4. Checkout FRR::
43+
4. Add librtr-devel. Install librtr-devel from rpm.frrouting.org
44+
repository (See https://rpm.frrouting.org to add repository
45+
if it's not yet added)
46+
47+
yum install librtr-devel
48+
49+
5. Checkout FRR::
4450

4551
git clone https://github.com/frrouting/frr.git frr
4652

47-
5. Run Bootstrap and make distribution tar.gz::
53+
6. Run Bootstrap and make distribution tar.gz::
4854

4955
cd frr
5056
./bootstrap.sh
@@ -56,15 +62,15 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24.
5662
The only ``configure`` option respected when building RPMs is
5763
``--with-pkg-extra-version``.
5864

59-
6. Create RPM directory structure and populate with sources::
65+
7. Create RPM directory structure and populate with sources::
6066

6167
mkdir rpmbuild
6268
mkdir rpmbuild/SOURCES
6369
mkdir rpmbuild/SPECS
6470
cp redhat/*.spec rpmbuild/SPECS/
6571
cp frr*.tar.gz rpmbuild/SOURCES/
6672

67-
7. Edit :file:`rpm/SPECS/frr.spec` with configuration as needed.
73+
8. Edit :file:`rpm/SPECS/frr.spec` with configuration as needed.
6874

6975
Look at the beginning of the file and adjust the following parameters to
7076
enable or disable features as required::
@@ -89,7 +95,7 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24.
8995
%{!?with_pimd: %global with_pimd 1 }
9096
%{!?with_rpki: %global with_rpki 0 }
9197

92-
8. Build the RPM::
98+
9. Build the RPM::
9399

94100
rpmbuild --define "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/frr.spec
95101

redhat/frr.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ sed -i 's/ -M rpki//' %{_sysconfdir}/frr/daemons
758758

759759

760760
%changelog
761-
* Tue Nov 2 2020 Donald Sharp <sharpd@nvidia.com> - 7.5
761+
* Mon Nov 2 2020 Donald Sharp <sharpd@nvidia.com> - 7.5
762762
- BFD
763763
- Profile support
764764
- Minimum ttl support

0 commit comments

Comments
 (0)