2018-09-28 00:21:01 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# bird
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-07-21 08:45:14 +02:00
|
|
|
BIRD_VERSION = 2.0.8
|
2019-02-04 16:22:51 +01:00
|
|
|
BIRD_SITE = ftp://bird.network.cz/pub/bird
|
2018-09-28 00:21:01 +02:00
|
|
|
BIRD_LICENSE = GPL-2.0+
|
|
|
|
BIRD_LICENSE_FILES = README
|
2021-05-19 08:00:54 +02:00
|
|
|
BIRD_CPE_ID_VENDOR = nic
|
2021-06-03 20:41:45 +02:00
|
|
|
BIRD_SELINUX_MODULES = bird
|
2018-09-28 00:21:01 +02:00
|
|
|
BIRD_DEPENDENCIES = host-flex host-bison
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_BIRD_CLIENT),y)
|
|
|
|
BIRD_CONF_OPTS += --enable-client
|
|
|
|
BIRD_DEPENDENCIES += ncurses readline
|
|
|
|
else
|
|
|
|
BIRD_CONF_OPTS += --disable-client
|
|
|
|
endif
|
|
|
|
|
2021-07-21 08:45:13 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSSH),y)
|
|
|
|
BIRD_CONF_OPTS += --enable-libssh
|
|
|
|
BIRD_DEPENDENCIES += libssh
|
|
|
|
else
|
|
|
|
BIRD_CONF_OPTS += --disable-libssh
|
|
|
|
endif
|
|
|
|
|
2019-03-20 22:09:44 +01:00
|
|
|
BIRD_PROTOCOLS = \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_BFD),bfd) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_BABEL),babel) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_BGP),bgp) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_MRT),mrt) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_OSPF),ospf) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_PERF),perf) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_RADV),radv) \
|
|
|
|
$(if $(BR2_PACKAGE_BIRD_RIP),rip) \
|
2021-07-21 08:45:13 +02:00
|
|
|
$(if $(BR2_PACKAGE_BIRD_RPKI),rpki) \
|
2019-03-20 22:09:44 +01:00
|
|
|
$(if $(BR2_PACKAGE_BIRD_STATIC),static)
|
|
|
|
|
|
|
|
BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS)))
|
|
|
|
|
2018-09-28 00:21:01 +02:00
|
|
|
$(eval $(autotools-package))
|