[Buildroot] [PATCH v2 0/2] add frr package

Vadim Kochan vadim4j at gmail.com
Tue Feb 25 02:58:48 UTC 2020


FRR is free software that implements and manages various IPv4 and IPv6
routing protocols. It runs on nearly all distributions of Linux and BSD
as well as Solaris and supports all modern CPU architectures.

FRR currently supports the following protocols:

    BGP
    OSPFv2
    OSPFv3
    RIPv1
    RIPv2
    RIPng
    IS-IS
    PIM-SM/MSDP
    LDP
    BFD
    Babel
    PBR
    OpenFabric
    VRRP
    EIGRP (alpha)
    NHRP (alpha)

FRR package requires LYD_PRIV option to be enabled in
libyang package, so enabled it in separate patch if
frr is selected.

Disabled some options for frr package like:

    - POSIX capabilities
    - RPKi

v2:
    1) fixed TAB indent on multiline var assignment

    2) fixed ABC ordering

    3) add missing 'depends on' from selected libs by frr

    4) directly call /usr/sbin/frrinit.sh S50frr init script
       w/o start-stop-daemon tool, frr cares of daemons stopping/
       running.

    5) Removed not-needed empty daemons *.conf files installation,
       it was taken from building instructions in frr docs, but
       really it is not required.

    6) Use 0644 mask for conf files.

    7) Enable LYD_PRIV option for libyang only if frr selected.

    8) Drop patch with rtrlib package which is needed only for
       RPKi support which is disabled by default.

    9) Add AUTORECONF for bootstrap invocation.

    10) Get rid of manual binaries target invocation. After frr.mk
        cleanup it starts to work.

    11) Install var/log/frr and /var/run/frr at runtime from init.

Vadim Kochan (2):
  package/libyang: enable LYD_PRIV option for frr package
  package/frr: new package

 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/frr/Config.in      | 25 +++++++++++++
 package/frr/S50frr         | 46 +++++++++++++++++++++++
 package/frr/frr.hash       |  2 +
 package/frr/frr.mk         | 75 ++++++++++++++++++++++++++++++++++++++
 package/libyang/libyang.mk |  4 ++
 7 files changed, 154 insertions(+)
 create mode 100644 package/frr/Config.in
 create mode 100644 package/frr/S50frr
 create mode 100644 package/frr/frr.hash
 create mode 100644 package/frr/frr.mk

-- 
2.17.1



More information about the buildroot mailing list