kumquat-buildroot/package/frr/frr.mk

71 lines
1.9 KiB
Makefile
Raw Normal View History

################################################################################
#
# frr
#
################################################################################
package/frr: bump to 7.5 Major Behavior Changes - As a reminder for those upgrading from older releases, as of FRR 7.4 and beyond: RFC 8212 is now enabled by default. BGP will not advertise or use routes unless explicitly configured to do so with an export or import policy. All daemons Minimum libyang version is now 1.0.184 bfdd Profile support Minimum TTL support bgpd RPKI now has support for VRFs Add wide option to route show commands Add ability to count filtered prefixes when using maximum-prefix with new force option Add ability to show selected bestpath routes for a given neighbor with bestpath-routes option to neighbor show command Add ability to specify message when admin downing a session with bgp shutdown message MSG... command Add IPv6 support for Flowspec Add ability to shut down neighbor if RTT is too high with neighbor <neigh> shutdown rtt command Allow update-delay to be applied globally Graceful Restart fixes Stability and performance fixes EVPN Beginning of MultiHoming support; stay tuned isisd Add VRF support Add support for Anycast-SIDs Fix adjacency timer display overflow ospfd Segment Routing support for ECMP Prevent crash if transferring config amongst instances Various LSA-related fixes pbrd Add JSON support to commands Add ability to match on DSCP/ECN fields pimd Add more JSON support to commands Add support for MSDP SA forwarding (s,g,rpt) ifchannel is now cleared when (*, G) prune is received Fix IGMP querier election and IP address mapping Fix missing mesh-group commands Fix crash when RP is removed staticd Add support for Northbound API zebra Nexthop group support for FPM Netlink batching support Northbound support for RIB model Backup nexthop support Allow upper level protocols to request ARP Add json output for zebra ES, ES-EVI and access vlan dumps vtysh Speed up output across daemons Fix build-time errors for some --enable flags Northbound / YANG Filter and route-map support OSPF model definition BGP model definition RPM Packaging Moved RPKI to subpackage Added SNMP subpackage Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-28 16:24:19 +01:00
FRR_VERSION = 7.5
FRR_SITE = $(call github,FRRouting,frr,frr-$(FRR_VERSION))
FRR_LICENSE = GPL-2.0
FRR_LICENSE_FILES = COPYING
FRR_AUTORECONF = YES
FRR_DEPENDENCIES = host-frr readline json-c \
libyang libnl c-ares
HOST_FRR_DEPENDENCIES = host-flex host-bison host-python3
FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
--sysconfdir=/etc/frr \
--localstatedir=/var/run/frr \
--with-moduledir=/usr/lib/frr/modules \
--enable-configfile-mask=0640 \
--enable-logfile-mask=0640 \
--enable-multipath=256 \
--disable-ospfclient \
--enable-shell-access \
--enable-user=frr \
--enable-group=frr \
--enable-vty-group=frrvty \
--disable-capabilities \
--enable-fpm
HOST_FRR_CONF_OPTS = --enable-clippy-only
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
FRR_CONF_ENV += LIBS=-latomic
endif
define HOST_FRR_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy
endef
define FRR_INSTALL_CONFIG_FILES
$(foreach f,daemons daemons.conf frr.conf vtysh.conf support_bundle_commands.conf,\
$(INSTALL) -D -m 0640 $(@D)/tools/etc/frr/$(f) \
$(TARGET_DIR)/etc/frr/$(f)
)
$(RM) $(TARGET_DIR)/etc/frr/*.sample
endef
FRR_POST_INSTALL_TARGET_HOOKS += FRR_INSTALL_CONFIG_FILES
define FRR_PERMISSIONS
/etc/frr/daemons f 640 frr frr - - - - -
/etc/frr/daemons.conf f 640 frr frr - - - - -
/etc/frr/frr.conf f 640 frr frr - - - - -
/etc/frr/vtysh.conf f 640 frr frrvty - - - - -
/etc/frr/support_bundle_commands.conf f 640 frr frr
endef
define FRR_USERS
frr -1 frr -1 * /var/run/frr - frrvty FRR user priv
endef
define FRR_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 $(FRR_PKGDIR)/S50frr \
$(TARGET_DIR)/etc/init.d/S50frr
endef
$(eval $(autotools-package))
$(eval $(host-autotools-package))