2017-02-15 09:38:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# keepalived
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-04-04 22:42:45 +02:00
|
|
|
KEEPALIVED_VERSION = 1.4.2
|
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-04-04 22:42:46 +02:00
|
|
|
# 0001-configure.ac-do-not-force-PIE.patch
|
|
|
|
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))
|