2017-02-15 09:38:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# keepalived
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-02-09 11:28:47 +01:00
|
|
|
KEEPALIVED_VERSION = 1.4.1
|
2017-02-15 09:38:52 +01:00
|
|
|
KEEPALIVED_SITE = http://www.keepalived.org/software
|
|
|
|
KEEPALIVED_DEPENDENCIES = host-pkgconf openssl popt
|
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
|
|
|
|
KEEPALIVED_CONF_OPTS += --disable-dbus
|
|
|
|
|
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
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|