[packages] keepalived: fix vrrp support (#5095)
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 10 May 2009 13:36:28 +0000 (13:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 10 May 2009 13:36:28 +0000 (13:36 +0000)
SVN-Revision: 15751

net/keepalived/Makefile
net/keepalived/patches/010-cross_compile_force_vrrp_on.patch [new file with mode: 0644]

index bcf312bd8c7c254a08c1e996136d6886f79fc141..80e4d06979424df425b29b31d7fef2c0da5cc834 100644 (file)
@@ -48,7 +48,6 @@ CONFIGURE_ARGS+= \
 
 CONFIGURE_VARS+= \
        ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes \
-       VRRP_SUPPORT=yes \
 
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
diff --git a/net/keepalived/patches/010-cross_compile_force_vrrp_on.patch b/net/keepalived/patches/010-cross_compile_force_vrrp_on.patch
new file mode 100644 (file)
index 0000000..bb8d72a
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur keepalived-1.1.15/configure keepalived-1.1.15.mod/configure
+--- keepalived-1.1.15/configure        2006-10-10 05:20:35.000000000 -0400
++++ keepalived-1.1.15.mod/configure    2009-05-08 04:52:13.000000000 -0400
+@@ -3928,7 +3928,7 @@
+-VRRP_SUPPORT="_WITHOUT_VRRP_"
++VRRP_SUPPORT="_WITH_VRRP_"
+ if test "$enable_vrrp" != "no"; then
+   echo "$as_me:$LINENO: checking for kernel netlink support" >&5
+ echo $ECHO_N "checking for kernel netlink support... $ECHO_C" >&6