aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-core/juci/juci/0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch23
-rw-r--r--recipes-core/juci/juci/0001-package-v5.patch352
-rw-r--r--recipes-core/juci/juci/0002-makefile-v2.patch31
-rw-r--r--recipes-core/juci/juci_git.bb29
-rw-r--r--recipes-core/juci/jucid_git.bb2
-rw-r--r--recipes-core/luci/luci_git.bb2
-rw-r--r--recipes-tweaks/iptables/iptables/600-shared-libext.patch37
7 files changed, 426 insertions, 50 deletions
diff --git a/recipes-core/juci/juci/0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch b/recipes-core/juci/juci/0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch
deleted file mode 100644
index b21982a1e37..00000000000
--- a/recipes-core/juci/juci/0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 2590abcf33efc2189ffec995d21d91ff27858ea4 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 8 Apr 2016 23:54:48 +0000
-Subject: [PATCH] juci: pin grunt to 0.4.1 for grunt-angular-gettext
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- package.json | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: git/package.json
-===================================================================
---- git.orig/package.json
-+++ git/package.json
-@@ -16,7 +16,7 @@
- "array.prototype.find": "*",
- "node-getopt": "*",
- "gettext-parser": "*",
-- "underscore": "*",
-+ "underscore": "~1.7.0",
- "ws": "*",
- "jquery-deferred": "*",
- "express-ws": "*"
diff --git a/recipes-core/juci/juci/0001-package-v5.patch b/recipes-core/juci/juci/0001-package-v5.patch
new file mode 100644
index 00000000000..55d71ef2829
--- /dev/null
+++ b/recipes-core/juci/juci/0001-package-v5.patch
@@ -0,0 +1,352 @@
+Index: git/package.json
+===================================================================
+--- git/package.json
++++ git/package.json
+@@ -18,7 +18,346 @@
+ "gettext-parser": "*",
+ "underscore": "*",
+ "ws": "*",
+- "express-ws": "*"
++ "express-ws": "*",
++ "camel-case": "*",
++ "checkup": "*",
++ "clean-css": "*",
++ "commander": "*",
++ "source-map": "*",
++ "css-b64-images": "*",
++ "execon": "*",
++ "he": "*",
++ "html-minifier": "*",
++ "clean-css": "*",
++ "ischanged": "*",
++ "debug": "*",
++ "ms": "*",
++ "lower-case": "*",
++ "minify": "*",
++ "debug": "*",
++ "ms": "*",
++ "ncname": "*",
++ "no-case": "*",
++ "param-case": "*",
++ "readjson": "*",
++ "relateurl": "*",
++ "rendy": "*",
++ "timem": "*",
++ "tomas": "*",
++ "try-catch": "*",
++ "upper-case": "*",
++ "writejson": "*",
++ "xml-char-classes": "*",
++ "acorn": "*",
++ "acorn-jsx": "*",
++ "acorn": "*",
++ "ajv": "*",
++ "angular-gettext-tools": "*",
++ "espree": "*",
++ "asap": "*",
++ "asynckit": "*",
++ "babylon": "*",
++ "binary-search": "*",
++ "boolbase": "*",
++ "cheerio": "*",
++ "co": "*",
++ "css-select": "*",
++ "css-what": "*",
++ "dom-serializer": "*",
++ "domelementtype": "*",
++ "domelementtype": "*",
++ "domhandler": "*",
++ "domutils": "*",
++ "entities": "*",
++ "errno": "*",
++ "espree": "*",
++ "grunt-angular-gettext": "*",
++ "angular-gettext-tools": "*",
++ "lodash": "*",
++ "har-schema": "*",
++ "htmlparser2": "*",
++ "domutils": "*",
++ "entities": "*",
++ "image-size": "*",
++ "json-stable-stringify": "*",
++ "jsonify": "*",
++ "less": "*",
++ "caseless": "*",
++ "form-data": "*",
++ "mime-types": "*",
++ "har-validator": "*",
++ "mime-db": "*",
++ "qs": "*",
++ "request": "*",
++ "tough-cookie": "*",
++ "tunnel-agent": "*",
++ "uuid": "*",
++ "lodash._isnative": "*",
++ "lodash.isarray": "*",
++ "lodash.tostring": "*",
++ "lodash.unescape": "*",
++ "npm": "*",
++ "JSONStream": "*",
++ "jsonparse": "*",
++ "through": "*",
++ "abbrev": "*",
++ "ansi-regex": "*",
++ "ansicolors": "*",
++ "ansistyles": "*",
++ "aproba": "*",
++ "archy": "*",
++ "asap": "*",
++ "chownr": "*",
++ "cmd-shim": "*",
++ "columnify": "*",
++ "wcwidth": "*",
++ "defaults": "*",
++ "clone": "*",
++ "config-chain": "*",
++ "proto-list": "*",
++ "debuglog": "*",
++ "dezalgo": "*",
++ "editor": "*",
++ "fs-vacuum": "*",
++ "fs-write-stream-atomic": "*",
++ "fstream": "*",
++ "fstream-npm": "*",
++ "fstream-ignore": "*",
++ "minimatch": "*",
++ "brace-expansion": "*",
++ "balanced-match": "*",
++ "concat-map": "*",
++ "glob": "*",
++ "fs.realpath": "*",
++ "minimatch": "*",
++ "brace-expansion": "*",
++ "balanced-match": "*",
++ "concat-map": "*",
++ "path-is-absolute": "*",
++ "graceful-fs": "*",
++ "has-unicode": "*",
++ "hosted-git-info": "*",
++ "iferr": "*",
++ "imurmurhash": "*",
++ "inflight": "*",
++ "inherits": "*",
++ "ini": "*",
++ "init-package-json": "*",
++ "glob": "*",
++ "minimatch": "*",
++ "brace-expansion": "*",
++ "balanced-match": "*",
++ "concat-map": "*",
++ "path-is-absolute": "*",
++ "promzard": "*",
++ "lockfile": "*",
++ "lodash._baseindexof": "*",
++ "lodash._baseuniq": "*",
++ "lodash._createset": "*",
++ "lodash._root": "*",
++ "lodash._bindcallback": "*",
++ "lodash._cacheindexof": "*",
++ "lodash._createcache": "*",
++ "lodash._getnative": "*",
++ "lodash.clonedeep": "*",
++ "lodash.restparam": "*",
++ "lodash.union": "*",
++ "lodash.uniq": "*",
++ "lodash.without": "*",
++ "mississippi": "*",
++ "concat-stream": "*",
++ "typedarray": "*",
++ "duplexify": "*",
++ "end-of-stream": "*",
++ "once": "*",
++ "stream-shift": "*",
++ "end-of-stream": "*",
++ "once": "*",
++ "flush-write-stream": "*",
++ "from2": "*",
++ "parallel-transform": "*",
++ "cyclist": "*",
++ "pump": "*",
++ "pumpify": "*",
++ "stream-each": "*",
++ "stream-shift": "*",
++ "through2": "*",
++ "xtend": "*",
++ "mkdirp": "*",
++ "minimist": "*",
++ "node-gyp": "*",
++ "minimatch": "*",
++ "brace-expansion": "*",
++ "balanced-match": "*",
++ "concat-map": "*",
++ "nopt": "*",
++ "nopt": "*",
++ "osenv": "*",
++ "os-homedir": "*",
++ "os-tmpdir": "*",
++ "normalize-git-url": "*",
++ "normalize-package-data": "*",
++ "is-builtin-module": "*",
++ "builtin-modules": "*",
++ "npm-cache-filename": "*",
++ "npm-install-checks": "*",
++ "npm-package-arg": "*",
++ "npm-registry-client": "*",
++ "concat-stream": "*",
++ "readable-stream": "*",
++ "core-util-is": "*",
++ "isarray": "*",
++ "process-nextick-args": "*",
++ "string_decoder": "*",
++ "util-deprecate": "*",
++ "typedarray": "*",
++ "npm-user-validate": "*",
++ "npmlog": "*",
++ "are-we-there-yet": "*",
++ "delegates": "*",
++ "console-control-strings": "*",
++ "gauge": "*",
++ "object-assign": "*",
++ "signal-exit": "*",
++ "string-width": "*",
++ "code-point-at": "*",
++ "is-fullwidth-code-point": "*",
++ "number-is-nan": "*",
++ "supports-color": "*",
++ "wide-align": "*",
++ "set-blocking": "*",
++ "once": "*",
++ "opener": "*",
++ "osenv": "*",
++ "os-homedir": "*",
++ "os-tmpdir": "*",
++ "path-is-inside": "*",
++ "read": "*",
++ "mute-stream": "*",
++ "read-cmd-shim": "*",
++ "read-installed": "*",
++ "util-extend": "*",
++ "read-package-json": "*",
++ "glob": "*",
++ "minimatch": "*",
++ "brace-expansion": "*",
++ "balanced-match": "*",
++ "concat-map": "*",
++ "path-is-absolute": "*",
++ "json-parse-helpfulerror": "*",
++ "jju": "*",
++ "read-package-tree": "*",
++ "readable-stream": "*",
++ "buffer-shims": "*",
++ "core-util-is": "*",
++ "isarray": "*",
++ "process-nextick-args": "*",
++ "string_decoder": "*",
++ "util-deprecate": "*",
++ "readdir-scoped-modules": "*",
++ "realize-package-specifier": "*",
++ "request": "*",
++ "aws-sign2": "*",
++ "aws4": "*",
++ "caseless": "*",
++ "combined-stream": "*",
++ "delayed-stream": "*",
++ "extend": "*",
++ "forever-agent": "*",
++ "form-data": "*",
++ "asynckit": "*",
++ "har-validator": "*",
++ "chalk": "*",
++ "ansi-styles": "*",
++ "escape-string-regexp": "*",
++ "has-ansi": "*",
++ "supports-color": "*",
++ "commander": "*",
++ "graceful-readlink": "*",
++ "is-my-json-valid": "*",
++ "generate-function": "*",
++ "generate-object-property": "*",
++ "is-property": "*",
++ "jsonpointer": "*",
++ "xtend": "*",
++ "pinkie-promise": "*",
++ "pinkie": "*",
++ "hawk": "*",
++ "boom": "*",
++ "cryptiles": "*",
++ "hoek": "*",
++ "sntp": "*",
++ "http-signature": "*",
++ "assert-plus": "*",
++ "jsprim": "*",
++ "extsprintf": "*",
++ "json-schema": "*",
++ "verror": "*",
++ "sshpk": "*",
++ "asn1": "*",
++ "assert-plus": "*",
++ "bcrypt-pbkdf": "*",
++ "dashdash": "*",
++ "ecc-jsbn": "*",
++ "getpass": "*",
++ "jodid25519": "*",
++ "jsbn": "*",
++ "tweetnacl": "*",
++ "is-typedarray": "*",
++ "isstream": "*",
++ "json-stringify-safe": "*",
++ "mime-types": "*",
++ "mime-db": "*",
++ "oauth-sign": "*",
++ "qs": "*",
++ "stringstream": "*",
++ "tough-cookie": "*",
++ "punycode": "*",
++ "tunnel-agent": "*",
++ "retry": "*",
++ "rimraf": "*",
++ "semver": "*",
++ "sha": "*",
++ "slide": "*",
++ "sorted-object": "*",
++ "sorted-union-stream": "*",
++ "from2": "*",
++ "readable-stream": "*",
++ "core-util-is": "*",
++ "isarray": "*",
++ "string_decoder": "*",
++ "stream-iterate": "*",
++ "strip-ansi": "*",
++ "tar": "*",
++ "block-stream": "*",
++ "text-table": "*",
++ "uid-number": "*",
++ "umask": "*",
++ "unique-filename": "*",
++ "unique-slug": "*",
++ "unpipe": "*",
++ "uuid": "*",
++ "validate-npm-package-license": "*",
++ "spdx-correct": "*",
++ "spdx-license-ids": "*",
++ "spdx-expression-parse": "*",
++ "spdx-exceptions": "*",
++ "spdx-license-ids": "*",
++ "validate-npm-package-name": "*",
++ "builtins": "*",
++ "which": "*",
++ "isexe": "*",
++ "wrappy": "*",
++ "write-file-atomic": "*",
++ "nth-check": "*",
++ "performance-now": "*",
++ "pofile": "*",
++ "promise": "*",
++ "prr": "*",
++ "punycode": "*",
++ "readable-stream": "*",
++ "typescript": "*",
++ "typescript-eslint-parser": "*"
+ },
+ "engines": {
+ "node": "0.10.x",
diff --git a/recipes-core/juci/juci/0002-makefile-v2.patch b/recipes-core/juci/juci/0002-makefile-v2.patch
new file mode 100644
index 00000000000..17d25cdbc26
--- /dev/null
+++ b/recipes-core/juci/juci/0002-makefile-v2.patch
@@ -0,0 +1,31 @@
+Index: git/scripts/bootstrap.sh
+===================================================================
+--- git/scripts/bootstrap.sh
++++ git/scripts/bootstrap.sh
+@@ -9,8 +9,8 @@ if [ "$(which npm)" == "" ]; then
+ ERR=1
+ fi
+
+-if [ "$(which yui-compressor)" == "" ] && [ "$(which yuicompressor)" == "" ]; then
+- perr "!!! yui-compressor is missing. Please install package yui-compressor or yuicompressor.";
++if [ "$(which minify)" == "" ]; then
++ perr "$(ls -al /media/rebeccas/015-juci-poky/build/tmp/work/i586-poky-linux-musl/juci/git-r0/git/node_modules) !!! $(ls -al /media/rebeccas/015-juci-poky/build/tmp/work/i586-poky-linux-musl/juci/git-r0/git/node_modules/.bin) !!! $(ls -al /media/rebeccas/015-juci-poky/build/tmp/work/i586-poky-linux-musl/juci/git-r0/git/node_modules/grunt-cli/bin) !!! minify is missing. Please install package minify.";
+ ERR=1
+ fi
+
+Index: git/scripts/juci-compile
+===================================================================
+--- git/scripts/juci-compile
++++ git/scripts/juci-compile
+@@ -14,10 +14,6 @@ done
+
+ for file in `find $BIN/www/css/ -name "*.css"`; do
+ echo "Compiling CSS ${file}.."
+- if [ "$(which yui-compressor)" != "" ]; then
+- yui-compressor ${file} > ${file}.out
+- else
+- yuicompressor ${file} > ${file}.out
+- fi
++ minify ${file} > ${file}.out
+ mv ${file}.out ${file}
+ done
diff --git a/recipes-core/juci/juci_git.bb b/recipes-core/juci/juci_git.bb
index 6d3d798bec9..d2074a852e2 100644
--- a/recipes-core/juci/juci_git.bb
+++ b/recipes-core/juci/juci_git.bb
@@ -7,19 +7,36 @@ LICENSE = "GPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32"
SECTION = "apps"
-SRCREV = "b173dba22fbd9891bc5e3a55f8b40ba562f38e31"
-SRC_URI = "git://github.com/mkschreder/juci"
-SRC_URI += "file://0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch"
-
+SRCREV = "${AUTOREV}"
+#SRCREV = "b4d8961595594e0754d399bb89588622813e49f1"
+#SRC_URI = "git://github.com/mkschreder/juci"
+SRC_URI = "git://github.com/leopck/juci.git"
+#SRC_URI += "file://0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch"
+#SRC_URI += "file://0001-package-4.patch"
+SRC_URI += "file://0001-package-v5.patch"
+SRC_URI += "file://0002-makefile-v2.patch"
S = "${WORKDIR}/git"
inherit npm-install
-NPM_INSTALL_append = " uglify-js"
-DEPENDS += "jucid lua5.1 grunt-cli-native"
+#NPM_INSTALL_append = " uglify-js grunt-cli espree karma"
+DEPENDS += "jucid lua5.1 grunt-cli-native gettext-native"
do_compile() {
oe_runmake node_modules
+
+ ## Just simply workaround to create softlinks for the local node_modules to be added to the global path
+ ln -sf ${WORKDIR}/git/node_modules/grunt-cli/bin/grunt ${WORKDIR}/recipe-sysroot-native/usr/bin/grunt
+ ln -sf ${WORKDIR}/git/node_modules/uglify-js/bin/uglifyjs ${WORKDIR}/recipe-sysroot-native/usr/bin/uglifyjs
+ ln -sf ${WORKDIR}/git/node_modules/less/bin/lessc ${WORKDIR}/recipe-sysroot-native/usr/bin/lessc
+
+## Workaround for the issue that this is a local node_modules and .bin directory cannot be used due to the fact that .bin is created by another user so no permission to access
+
+ ln -sf ${WORKDIR}/git/node_modules/minify/bin/minify.js ${WORKDIR}/recipe-sysroot-native/usr/bin/minify
+
+## Workaround for the double node_modules issue, this will cause the npm shrinkwrap to flag error, it is highly believed that this issue is due to ln -sf node_modules by nodejs because it creates a softlink inside the first node_modules
+
+ rm ${WORKDIR}/git/node_modules/node_modules
}
do_install_append() {
diff --git a/recipes-core/juci/jucid_git.bb b/recipes-core/juci/jucid_git.bb
index 0fb7b264181..85df80d1f77 100644
--- a/recipes-core/juci/jucid_git.bb
+++ b/recipes-core/juci/jucid_git.bb
@@ -18,5 +18,5 @@ SRC_URI = "git://github.com/mkschreder/jucid \
S = "${WORKDIR}/git"
inherit autotools pkgconfig
-DEPENDS += "libblobpack libutype libusys luci uci lua5.1 libwebsockets iwinfo rpcd ubus"
+DEPENDS += "libblobpack libutype libusys luci uci lua5.1 libwebsockets iwinfo rpcd ubus luajit"
RDEPENDS_${PN} += "libutype libblobpack libusys"
diff --git a/recipes-core/luci/luci_git.bb b/recipes-core/luci/luci_git.bb
index 992b72aa9ab..6c462a4eb5e 100644
--- a/recipes-core/luci/luci_git.bb
+++ b/recipes-core/luci/luci_git.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/openwrt/luci"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9"
SECTION = "base"
-DEPENDS = "json-c libubox libnl lua5.1 iwinfo"
+DEPENDS = "json-c libubox libnl lua5.1 iwinfo openssl"
RDEPENDS_${PN} = "lua5.1"
SRCREV = "d89b022b97b4516bef708212135780b818b9d4a2"
diff --git a/recipes-tweaks/iptables/iptables/600-shared-libext.patch b/recipes-tweaks/iptables/iptables/600-shared-libext.patch
index fca22ed5d5d..6af0dda8e42 100644
--- a/recipes-tweaks/iptables/iptables/600-shared-libext.patch
+++ b/recipes-tweaks/iptables/iptables/600-shared-libext.patch
@@ -1,8 +1,7 @@
-Index: iptables-1.6.0/extensions/GNUmakefile.in
-===================================================================
---- iptables-1.6.0.orig/extensions/GNUmakefile.in
-+++ iptables-1.6.0/extensions/GNUmakefile.in
-@@ -49,11 +49,33 @@ pfb_build_mod := $(filter-out @blacklist
+diff -Naur iptables-1.6.1/extensions/GNUmakefile.in iptables-1.6.1.mod/extensions/GNUmakefile.in
+--- iptables-1.6.1/extensions/GNUmakefile.in 2017-01-27 00:11:58.000000000 +0800
++++ iptables-1.6.1.mod/extensions/GNUmakefile.in 2017-05-30 14:59:52.526484105 +0800
+@@ -50,11 +50,33 @@
pfa_build_mod := $(filter-out @blacklist_modules@ @blacklist_a_modules@,${pfa_build_mod})
pf4_build_mod := $(filter-out @blacklist_modules@ @blacklist_4_modules@,${pf4_build_mod})
pf6_build_mod := $(filter-out @blacklist_modules@ @blacklist_6_modules@,${pf6_build_mod})
@@ -13,7 +12,7 @@ Index: iptables-1.6.0/extensions/GNUmakefile.in
-pf6_objs := $(patsubst %,libip6t_%.o,${pf6_build_mod})
+
+ifdef BUILTIN_MODULES
-+pfx_build_static := $(filter $(BUILTIN_MODULES),${pfx_build_mod})
++ +pfx_build_static := $(filter $(BUILTIN_MODULES),${pfx_build_mod})
+pfb_build_static := $(filter $(BUILTIN_MODULES),${pfb_build_mod})
+pfa_build_static := $(filter $(BUILTIN_MODULES),${pfa_build_mod})
+pf4_build_static := $(filter $(BUILTIN_MODULES),${pf4_build_mod})
@@ -41,7 +40,7 @@ Index: iptables-1.6.0/extensions/GNUmakefile.in
pfx_solibs := $(patsubst %,libxt_%.so,${pfx_build_mod} ${pfx_symlinks})
pfb_solibs := $(patsubst %,libebt_%.so,${pfb_build_mod})
pfa_solibs := $(patsubst %,libarpt_%.so,${pfa_build_mod})
-@@ -64,15 +86,15 @@ pf6_solibs := $(patsubst %,libip6t_%.
+@@ -65,15 +87,15 @@
#
# Building blocks
#
@@ -65,7 +64,7 @@ Index: iptables-1.6.0/extensions/GNUmakefile.in
.SECONDARY:
-@@ -91,7 +113,7 @@ clean:
+@@ -92,7 +114,7 @@
distclean: clean
init%.o: init%.c
@@ -74,7 +73,7 @@ Index: iptables-1.6.0/extensions/GNUmakefile.in
-include .*.d
-@@ -100,7 +122,7 @@ init%.o: init%.c
+@@ -101,7 +123,7 @@
# Shared libraries
#
lib%.so: lib%.oo
@@ -83,7 +82,7 @@ Index: iptables-1.6.0/extensions/GNUmakefile.in
lib%.oo: ${srcdir}/lib%.c
${AM_VERBOSE_CC} ${CC} ${AM_CPPFLAGS} ${AM_DEPFLAGS} ${AM_CFLAGS} -D_INIT=lib$*_init -DPIC -fPIC ${CFLAGS} -o $@ -c $<;
-@@ -123,28 +145,28 @@ xt_connlabel_LIBADD = @libnetfilter_conn
+@@ -124,28 +146,28 @@
# handling code in the Makefiles.
#
lib%.o: ${srcdir}/lib%.c
@@ -128,11 +127,10 @@ Index: iptables-1.6.0/extensions/GNUmakefile.in
.initext.dd: FORCE
@echo "${initext_func}" >$@.tmp; \
-Index: iptables-1.6.0/iptables/Makefile.am
-===================================================================
---- iptables-1.6.0.orig/iptables/Makefile.am
-+++ iptables-1.6.0/iptables/Makefile.am
-@@ -6,7 +6,8 @@ AM_YFLAGS = -d
+diff -Naur iptables-1.6.1/iptables/Makefile.am iptables-1.6.1.mod/iptables/Makefile.am
+--- iptables-1.6.1/iptables/Makefile.am 2017-01-27 00:11:58.000000000 +0800
++++ iptables-1.6.1.mod/iptables/Makefile.am 2017-05-30 15:06:39.646481102 +0800
+@@ -8,7 +8,8 @@
xtables_multi_SOURCES = xtables-multi.c iptables-xml.c
xtables_multi_CFLAGS = ${AM_CFLAGS}
@@ -142,7 +140,7 @@ Index: iptables-1.6.0/iptables/Makefile.am
if ENABLE_STATIC
xtables_multi_CFLAGS += -DALL_INCLUSIVE
endif
-@@ -14,22 +15,25 @@ if ENABLE_IPV4
+@@ -16,23 +17,26 @@
xtables_multi_SOURCES += iptables-save.c iptables-restore.c \
iptables-standalone.c iptables.c
xtables_multi_CFLAGS += -DENABLE_IPV4
@@ -164,6 +162,7 @@ Index: iptables-1.6.0/iptables/Makefile.am
# nftables compatibility layer
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
@@ -172,10 +171,10 @@ Index: iptables-1.6.0/iptables/Makefile.am
if ENABLE_STATIC
xtables_compat_multi_CFLAGS += -DALL_INCLUSIVE
endif
-@@ -41,11 +45,12 @@ xtables_compat_multi_SOURCES += xtables-
- xtables-arp-standalone.c xtables-arp.c \
+@@ -45,11 +49,12 @@
getethertype.c nft-bridge.c \
- xtables-eb-standalone.c xtables-eb.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 += -liptext6 -liptext6 -liptext_ebt -liptext_arpt