2017-02-15 09:38:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# keepalived
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-11-21 22:16:10 +01:00
|
|
|
KEEPALIVED_VERSION = 2.0.10
|
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
|
2019-01-10 17:43:28 +01:00
|
|
|
# We're patching configure.ac
|
|
|
|
KEEPALIVED_AUTORECONF = YES
|
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
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|