keepalived: disable libnl
authorStijn Tintel <redacted>
Wed, 3 Oct 2018 10:20:30 +0000 (13:20 +0300)
committerStijn Tintel <redacted>
Sun, 7 Oct 2018 11:40:52 +0000 (14:40 +0300)
When libnl is enabled and libnl-genl is disabled, libnl-genl-3.so.200 is
installed by InstallDev, and keepalived picks it up anyway.
This causes build to fail with the following error:

Package keepalived is missing dependencies for the following libraries:
libnl-genl-3.so.200

Instead of having a conditional dependency it is better to have a
consistent build. Disable libnl to enforce this.

Signed-off-by: Stijn Tintel <redacted>
net/keepalived/Makefile

index 10ef3f8991d0ba0597aaf29805fd19bd4efe6a54..dfbed1b41bac54f9fd9f2ff0ebf1b8df66ed0c05 100644 (file)
@@ -31,7 +31,6 @@ define Package/keepalived
   TITLE:=Failover and monitoring daemon for LVS clusters
   URL:=http://www.keepalived.org/
   DEPENDS:= \
-    +PACKAGE_libnl-genl:libnl-genl \
     +libopenssl \
     +libip4tc \
     +IPV6:libip6tc \
@@ -54,6 +53,7 @@ define Package/keepalived/conffiles
 endef
 
 CONFIGURE_ARGS+= \
+       --disable-libnl \
        --enable-sha1 \
        --disable-snmp \
        --with-kernel-dir="$(LINUX_DIR)/$(LINUX_UAPI_DIR)"
git clone https://git.99rst.org/PROJECT