2017-02-15 09:38:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# keepalived
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-07-12 23:35:43 +02:00
|
|
|
KEEPALIVED_VERSION = 2.1.4
|
2017-02-15 09:38:52 +01:00
|
|
|
KEEPALIVED_SITE = http://www.keepalived.org/software
|
2018-11-19 19:06:48 +01:00
|
|
|
KEEPALIVED_DEPENDENCIES = host-pkgconf openssl
|
2017-03-30 15:43:32 +02:00
|
|
|
KEEPALIVED_LICENSE = GPL-2.0+
|
2017-02-15 09:38:52 +01:00
|
|
|
KEEPALIVED_LICENSE_FILES = COPYING
|
2018-11-21 22:16:10 +01:00
|
|
|
KEEPALIVED_CONF_OPTS = --disable-hardening
|
2017-02-15 09:38:52 +01:00
|
|
|
|
2018-11-19 19:06:49 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_JSON_C),y)
|
|
|
|
KEEPALIVED_DEPENDENCIES += json-c
|
|
|
|
KEEPALIVED_CONF_OPTS += --enable-json
|
|
|
|
else
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-json
|
|
|
|
endif
|
|
|
|
|
2018-11-19 19:06:50 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
|
|
KEEPALIVED_DEPENDENCIES += libglib2
|
|
|
|
KEEPALIVED_CONF_OPTS += --enable-dbus
|
|
|
|
else
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-dbus
|
|
|
|
endif
|
|
|
|
|
2017-03-20 21:52:41 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy)
|
|
|
|
KEEPALIVED_DEPENDENCIES += libnl libnfnetlink
|
2017-03-20 21:52:42 +01:00
|
|
|
KEEPALIVED_CONF_OPTS += --enable-libnl
|
|
|
|
else
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-libnl
|
2017-02-15 09:38:52 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IPSET),y)
|
|
|
|
KEEPALIVED_DEPENDENCIES += ipset
|
|
|
|
KEEPALIVED_CONF_OPTS += --enable-libipset
|
|
|
|
else
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-libipset
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IPTABLES),y)
|
|
|
|
KEEPALIVED_DEPENDENCIES += iptables
|
|
|
|
KEEPALIVED_CONF_OPTS += --enable-libiptc
|
|
|
|
else
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-libiptc
|
|
|
|
endif
|
|
|
|
|
2019-03-27 19:12:48 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFTNL),y)
|
|
|
|
KEEPALIVED_DEPENDENCIES += libnftnl
|
|
|
|
KEEPALIVED_CONF_OPTS += --enable-nftables
|
|
|
|
else
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-nftables
|
|
|
|
endif
|
|
|
|
|
2017-02-15 09:38:52 +01:00
|
|
|
$(eval $(autotools-package))
|