ipsec-tools: Stop unconditionally disabling shadow passwords 287/head
authorMatthew Sykes <matthew.sykes@gmail.com>
Sun, 7 Sep 2014 02:00:55 +0000 (22:00 -0400)
committerMatthew Sykes <matthew.sykes@gmail.com>
Sun, 7 Sep 2014 02:07:09 +0000 (22:07 -0400)
Racoon requires shadow password support when built for a system with shadow passwords enabled.

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
net/ipsec-tools/Makefile

index 4131cff4bb571f493462e9ed4e118395290950ad..a1ba11761539602eff834f2732f77d1facdf1a85 100644 (file)
@@ -70,7 +70,9 @@ define Build/Configure
                configure \
        );
        $(call Build/Configure/Default)
+ifndef CONFIG_SHADOW_PASSWORDS
        echo "#undef HAVE_SHADOW_H" >> $(PKG_BUILD_DIR)/config.h
+endif
 endef
 
 define Package/ipsec-tools/install