From 4868b6f7a8dceb02edaa4a99244664aae5efe71e Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 28 May 2018 09:22:52 +0200 Subject: [PATCH 1/2] net/keepalived: update to version 2.0.7 Update keepalived to version 2.0.7. Signed-off-by: Florian Eckert --- net/keepalived/Makefile | 8 +++--- .../0001-Include-stdbool.h-in-process.c.patch | 25 +++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 net/keepalived/patches/0001-Include-stdbool.h-in-process.c.patch diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile index e4cae206c..94e8c93be 100644 --- a/net/keepalived/Makefile +++ b/net/keepalived/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=keepalived -PKG_VERSION:=1.4.4 +PKG_VERSION:=2.0.7 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.keepalived.org/software -PKG_HASH:=147c2b3b782223128551fd0a1564eaa30ed84a94b68c50ec5087747941314704 +PKG_HASH:=bce45d6d5cf3620bfd88472ec839a75b5a14a54fda12d09e890670244873b8ab PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=COPYING @@ -36,7 +36,9 @@ define Package/keepalived +libip4tc \ +IPV6:libip6tc \ +libxtables \ - +kmod-macvlan + +kmod-macvlan \ + +libmagic \ + +libnl-route endef define Package/keepalived/description diff --git a/net/keepalived/patches/0001-Include-stdbool.h-in-process.c.patch b/net/keepalived/patches/0001-Include-stdbool.h-in-process.c.patch new file mode 100644 index 000000000..733f6ab23 --- /dev/null +++ b/net/keepalived/patches/0001-Include-stdbool.h-in-process.c.patch @@ -0,0 +1,25 @@ +From 6c7a281473083f7ac47b426b2127a8c8e76caca5 Mon Sep 17 00:00:00 2001 +From: Quentin Armitage +Date: Sat, 25 Aug 2018 11:36:11 +0100 +Subject: [PATCH] Include stdbool.h in process.c + +Signed-off-by: Quentin Armitage +--- + keepalived/core/process.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/keepalived/core/process.c b/keepalived/core/process.c +index f11c32a3..22bcf254 100644 +--- a/keepalived/core/process.c ++++ b/keepalived/core/process.c +@@ -30,6 +30,7 @@ + #ifdef _HAVE_SCHED_RT_ + #include + #endif ++#include + + #include "process.h" + #include "logger.h" +-- +2.11.0 + From d7e5b3a0d0aa3fa37510fcc06c00ffabe45d46bf Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 31 Aug 2018 09:57:21 +0200 Subject: [PATCH 2/2] net/keepalived: enable lvs support Enable IPVS support. Signed-off-by: Florian Eckert --- net/keepalived/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile index 94e8c93be..10ef3f899 100644 --- a/net/keepalived/Makefile +++ b/net/keepalived/Makefile @@ -38,7 +38,9 @@ define Package/keepalived +libxtables \ +kmod-macvlan \ +libmagic \ - +libnl-route + +libnl-route \ + +libnfnetlink \ + +kmod-nf-ipvs endef define Package/keepalived/description @@ -53,8 +55,6 @@ endef CONFIGURE_ARGS+= \ --enable-sha1 \ - --disable-lvs \ - --disable-lvs-syncd \ --disable-snmp \ --with-kernel-dir="$(LINUX_DIR)/$(LINUX_UAPI_DIR)"