Skip to contentSkip to conversation

strongswan: disable iptables support

PATCH New Waldemar Brodkorb 1 participant 1 message Apr 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 strongswan: disable iptables support

There is a new conflict between Linux header (linux/if.h) and C library header (net/if.h) introduced by this commit to the Linux kernel:
1ffad83dffd675cd742286ae82dca7d746cb0da8
Mikko Rapeli is working on a solution, but it requires changes to the Linux kernel and C library.

For now I would just disable the iptables feature in Strongswan.

The changes fixes following autobuild error:
http://autobuild.buildroot.net/results/e1693a714eb690988c1798b733d0ff143e50b3b9/

---
 package/strongswan/strongswan.mk | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
package/strongswan/strongswan.mk +2 -7
index e27606c..e7606c0 100644
@@ -71,15 +71,10 @@ STRONGSWAN_DEPENDENCIES += \
 	$(if $(BR2_PACKAGE_MYSQL),mysql)
 endif
 
-ifeq ($(BR2_PACKAGE_IPTABLES),y)
-STRONGSWAN_DEPENDENCIES += iptables
+# disable connmark/forecast until net/if.h vs. linux/if.h conflict resolved
+# problem exist since linux 4.5 header changes
 STRONGSWAN_CONF_OPTS += \
-	--enable-connmark \
-	--enable-forecast
-else
-STRONGSWAN_COF_OPTS += \
 	--disable-connmark \
 	--disable-forecast
-endif
 
 $(eval $(autotools-package))
Signature · 1 line
2.1.4