Newer automake/autoconf/bison is only needed to build the rpm and is
**not** needed to install the binary rpm package
-2. Install the following packages to build the RPMs:
+2. Install the build packages as documented in doc/Building_on_xxxxx.md
+ and the following additional packages:
- yum install git autoconf automake libtool make gawk readline-devel \
- texinfo net-snmp-devel groff pkgconfig rpm-build json-c-devel \
- pam-devel texi2html bison libcap-devel flex
+ yum install rpm-build net-snmp-devel pam-devel
Additionally, on systems with systemd (CentOS 7, Fedora)
(use `dnf install` on new Fedora instead of `yum install`)
- **CentOS 6:** Please check doc/Building_FRR_on_CentOS6.md for details on
- how to install required version of autoconf, automake and bison. The
- versions in the common Repo are too old.
-
3. Checkout FRR under a **unpriviledged** user account
git clone https://github.com/frrouting/frr.git frr
cd frr
./bootstrap.sh
./configure --with-pkg-extra-version=-MyRPMVersion
- make dist
+ make SPHINXBUILD=sphinx-build2.7 dist
Note: configure parameters are not important for the RPM building - except the `with-pkg-extra-version` if you want to give the RPM a specific name to
mark your own unoffical build
############### FRRouting (FRR) configure options #################
# with-feature options
- %{!?with_tcp_zebra: %global with_tcp_zebra 0 }
%{!?with_pam: %global with_pam 0 }
%{!?with_ospfclient: %global with_ospfclient 1 }
%{!?with_ospfapi: %global with_ospfapi 1 }
%{!?with_watchfrr: %global with_watchfrr 1 }
%{!?with_bgp_vnc: %global with_bgp_vnc 0 }
%{!?with_pimd: %global with_pimd 1 }
+ %{!?with_rpki: %global with_rpki 0 }
7. Build the RPM
rpmbuild --define "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/frr.spec
+ If building with RPKI, then download and install the additional RPKI
+ packages from
+ https://ci1.netdef.org/browse/RPKI-RTRLIB/latestSuccessful/artifact
+
DONE.
If all works correctly, then you should end up with the RPMs under