Browse Source

Merge pull request #13641 from TDT-AG/pr/20201012-keepalived

keepalived: update to 2.1.5
lilik-openwrt-22.03
Florian Eckert 4 years ago
committed by GitHub
parent
commit
6519bc5b76
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 56 deletions
  1. +3
    -3
      net/keepalived/Makefile
  2. +0
    -53
      net/keepalived/patches/0001-Fix-building-with-disable-libipvs-dynamic.patch

+ 3
- 3
net/keepalived/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=keepalived
PKG_VERSION:=2.0.20
PKG_RELEASE:=4
PKG_VERSION:=2.1.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.keepalived.org/software
PKG_HASH:=9670fbc5eb3dc113828be8b702549dc68ec9578cf83287520d935be76fc8f193
PKG_HASH:=d94d7ccbc5c95ab39c95a0e5ae89a25a224f39b6811f2930d3a1885a69732259
PKG_CPE_ID:=cpe:/a:keepalived:keepalived
PKG_LICENSE:=GPL-2.0-or-later


+ 0
- 53
net/keepalived/patches/0001-Fix-building-with-disable-libipvs-dynamic.patch View File

@ -1,53 +0,0 @@
From 42c020aab6e51d09f22a2e4a33ce6fd73009e2dc Mon Sep 17 00:00:00 2001
From: Quentin Armitage <quentin@armitage.org.uk>
Date: Wed, 4 Mar 2020 12:21:43 +0000
Subject: [PATCH] Fix building with --disable-libipvs-dynamic
Issue #1516 reported by the OpenWRT project identified that
keepalived_modprobe() was not defined if --disable-libipvs-dynamic
was specified.
Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
---
lib/utils.c | 4 ++--
lib/utils.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/utils.c b/lib/utils.c
index 009da0ce..7f16f444 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -34,7 +34,7 @@
#include <stdint.h>
#include <errno.h>
#include <sys/prctl.h>
-#if defined _WITH_LVS_ || defined _LIBIPSET_DYNAMIC_
+#if defined _WITH_LVS_ || defined _HAVE_LIBIPSET_
#include <sys/wait.h>
#endif
#ifdef _WITH_PERF_
@@ -1097,7 +1097,7 @@ memcmp_constant_time(const void *s1, const void *s2, size_t n)
* Utility functions coming from Wensong code
*/
-#if defined _WITH_LVS_ || defined _LIBIPSET_DYNAMIC_
+#if defined _WITH_LVS_ || defined _HAVE_LIBIPSET_
static char*
get_modprobe(void)
{
diff --git a/lib/utils.h b/lib/utils.h
index 66d64d9f..22325023 100644
--- a/lib/utils.h
+++ b/lib/utils.h
@@ -263,7 +263,7 @@ extern int open_pipe(int [2]);
#endif
extern int memcmp_constant_time(const void *, const void *, size_t);
-#if defined _WITH_LVS_ || defined _LIBIPSET_DYNAMIC_
+#if defined _WITH_LVS_ || defined _HAVE_LIBIPSET_
extern bool keepalived_modprobe(const char *);
#endif
--
2.20.1

Loading…
Cancel
Save