]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: suggest the installation of the libcap development library
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 6 Aug 2019 18:53:42 +0000 (15:53 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 6 Aug 2019 18:53:42 +0000 (15:53 -0300)
All FRR Linux packages are built using libcap-dev (or libcap-devel)
installed in the system. Update the build instructions to suggest
FRR developers to do the same. The main motivation for this is that
the seteuid() system call is too expensive and overall less secure
compared to using the Linux capabilities framework.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
doc/developer/building-frr-for-centos6.rst
doc/developer/building-frr-for-centos7.rst
doc/developer/building-frr-for-debian8.rst
doc/developer/building-frr-for-debian9.rst
doc/developer/building-frr-for-fedora.rst
doc/developer/building-frr-for-ubuntu1404.rst
doc/developer/building-frr-for-ubuntu1604.rst
doc/developer/building-frr-for-ubuntu1804.rst

index ee0ffc2bf7d8d8e6adaedcd402e6e3a2ef26b5fe..3d9edbe3a1b2e3222b073cc3e7640faba1ce846d 100644 (file)
@@ -45,7 +45,7 @@ Add packages:
 
    sudo yum install git autoconf automake libtool make \
       readline-devel texinfo net-snmp-devel groff pkgconfig \
-      json-c-devel pam-devel flex epel-release c-ares-devel
+      json-c-devel pam-devel flex epel-release c-ares-devel libcap-devel
 
 Install newer version of bison (CentOS 6 package source is too old) from CentOS
 7:
index 67f71bc3a5b811a763ba1ff76d10000cea248642..cd90d41ffb82d838f50f8f0689846b125873efd0 100644 (file)
@@ -21,7 +21,7 @@ Add packages:
     sudo yum install git autoconf automake libtool make \
       readline-devel texinfo net-snmp-devel groff pkgconfig \
       json-c-devel pam-devel bison flex pytest c-ares-devel \
-      python-devel systemd-devel python-sphinx
+      python-devel systemd-devel python-sphinx libcap-devel
 
 .. include:: building-libyang.rst
 
index 76f927853d607e0e7ee0cb4babb2a173a504013a..c12bf46f8dc5ea24247632e72bda7e274c6accca 100644 (file)
@@ -18,7 +18,7 @@ Add packages:
    sudo apt-get install git autoconf automake libtool make \
       libreadline-dev texinfo libjson-c-dev pkg-config bison flex python3-pip \
       libc-ares-dev python3-dev python3-sphinx build-essential libsystemd-dev \
-      libsnmp-dev
+      libsnmp-dev libcap-dev
 
 Install newer pytest (>3.0) from pip
 
index e58c59f451ac735dca95aa4ddf5f88f434faf566..f976b9f49abdd951b671b80278f1bf9b0854b11a 100644 (file)
@@ -11,7 +11,7 @@ Add packages:
    sudo apt-get install git autoconf automake libtool make \
      libreadline-dev texinfo libjson-c-dev pkg-config bison flex \
      libc-ares-dev python3-dev python3-pytest python3-sphinx build-essential \
-     libsnmp-dev libsystemd-dev
+     libsnmp-dev libsystemd-dev libcap-dev
 
 .. include:: building-libyang.rst
 
index 0bfd43e93cbdb8c73cb1a6aab38e813eb8750633..d8405eb3519cde9fd54108dfe5c5bb669cbf330e 100644 (file)
@@ -14,7 +14,7 @@ Installing Dependencies
    sudo dnf install git autoconf automake libtool make \
      readline-devel texinfo net-snmp-devel groff pkgconfig json-c-devel \
      pam-devel python3-pytest bison flex c-ares-devel python3-devel \
-     python3-sphinx perl-core patch systemd-devel
+     python3-sphinx perl-core patch systemd-devel libcap-devel
 
 .. include:: building-libyang.rst
 
index 569b3bded1c5bbf1d26ef1ee57f4d358322cd839..cc5441526675cf9de6e330c7450d272c4b7d84d1 100644 (file)
@@ -14,7 +14,7 @@ Installing Dependencies
       git autoconf automake libtool make libreadline-dev texinfo \
       pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
       libc-ares-dev python3-dev python3-sphinx install-info build-essential \
-      libsnmp-dev perl
+      libsnmp-dev perl libcap-dev
 
 .. include:: building-libyang.rst
 
index 03852a62aa34ba4597126e0fc2494593c43e9d62..63c6f8648c8a7917834652341e2e1e18269ee6ac 100644 (file)
@@ -14,7 +14,7 @@ Installing Dependencies
       git autoconf automake libtool make libreadline-dev texinfo \
       pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
       libc-ares-dev python3-dev libsystemd-dev python-ipaddress python3-sphinx \
-      install-info build-essential libsystemd-dev libsnmp-dev perl
+      install-info build-essential libsystemd-dev libsnmp-dev perl libcap-dev
 
 .. include:: building-libyang.rst
 
index 96c0efe02a77ca4f95a13ce4073daff1bc140a37..9d85957d887a411ce8f0d88a9ab3796157c54921 100644 (file)
@@ -14,7 +14,7 @@ Installing Dependencies
       git autoconf automake libtool make libreadline-dev texinfo \
       pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
       libc-ares-dev python3-dev libsystemd-dev python-ipaddress python3-sphinx \
-      install-info build-essential libsystemd-dev libsnmp-dev perl
+      install-info build-essential libsystemd-dev libsnmp-dev perl libcap-dev
 
 .. include:: building-libyang.rst