[source] Revert "iptables: fix nftables compile issue (FS#711)"

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 2 01:06:15 PST 2018


dedeckeh pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/04265964530cca55203282d871338f8cc71c7925

commit 04265964530cca55203282d871338f8cc71c7925
Author: Hans Dedecker <dedeckeh at gmail.com>
AuthorDate: Tue Jan 2 10:04:59 2018 +0100

    Revert "iptables: fix nftables compile issue (FS#711)"
    
    This reverts commit da126d557c6d1cfe19d3f93481af6e00631d7931 as the iptables patch does not apply cleanly.
    
    Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
 .../utils/iptables/patches/600-shared-libext.patch   | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/package/network/utils/iptables/patches/600-shared-libext.patch b/package/network/utils/iptables/patches/600-shared-libext.patch
index 1b7982a..92f5485 100644
--- a/package/network/utils/iptables/patches/600-shared-libext.patch
+++ b/package/network/utils/iptables/patches/600-shared-libext.patch
@@ -76,23 +76,3 @@ Index: iptables-1.4.21/iptables/Makefile.am
  endif
  xtables_multi_SOURCES += xshared.c
  xtables_multi_LDADD   += ../libxtables/libxtables.la -lm
-@@ -32,7 +35,8 @@ if ENABLE_NFTABLES
- BUILT_SOURCES += xtables-config-parser.h
- xtables_compat_multi_SOURCES  = xtables-compat-multi.c iptables-xml.c
- xtables_compat_multi_CFLAGS   = ${AM_CFLAGS}
--xtables_compat_multi_LDADD    = ../extensions/libext.a ../extensions/libext_ebt.a
-+xtables_compat_multi_LDADD    =
-+xtables_compat_multi_LDFLAGS  = -L../extensions/ -liptext -liptext_ebt
- if ENABLE_STATIC
- xtables_compat_multi_CFLAGS  += -DALL_INCLUSIVE
- endif
-@@ -45,7 +49,8 @@ xtables_compat_multi_SOURCES += xtables-
- 				getethertype.c nft-bridge.c \
- 				xtables-eb-standalone.c xtables-eb.c \
- 				xtables-translate.c
--xtables_compat_multi_LDADD   += ${libmnl_LIBS} ${libnftnl_LIBS} ${libnetfilter_conntrack_LIBS} ../extensions/libext4.a ../extensions/libext6.a ../extensions/libext_ebt.a ../extensions/libext_arpt.a
-+xtables_compat_multi_LDADD   += ${libmnl_LIBS} ${libnftnl_LIBS} ${libnetfilter_conntrack_LIBS}
-+xtables_compat_multi_LDFLAGS += -liptext4 -liptext6 -liptext_arpt
- # yacc and lex generate dirty code
- xtables_compat_multi-xtables-config-parser.o xtables_compat_multi-xtables-config-syntax.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations -Wno-implicit-function-declaration -Wno-nested-externs -Wno-undef -Wno-redundant-decls
- xtables_compat_multi_SOURCES += xshared.c



More information about the lede-commits mailing list