diff options
| -rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_1.1.6.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb index d27e60a18d..dbe0e8f9f5 100644 --- a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb +++ b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb | |||
| @@ -16,9 +16,9 @@ SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \ | |||
| 16 | " | 16 | " |
| 17 | SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c" | 17 | SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c" |
| 18 | 18 | ||
| 19 | inherit autotools manpages pkgconfig ptest python3native | 19 | inherit autotools manpages pkgconfig ptest python3native systemd |
| 20 | 20 | ||
| 21 | PACKAGECONFIG ?= "python readline json" | 21 | PACKAGECONFIG ?= "python readline json ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 22 | PACKAGECONFIG[editline] = "--with-cli=editline, , libedit, , , linenoise readline" | 22 | PACKAGECONFIG[editline] = "--with-cli=editline, , libedit, , , linenoise readline" |
| 23 | PACKAGECONFIG[json] = "--with-json, --without-json, jansson" | 23 | PACKAGECONFIG[json] = "--with-json, --without-json, jansson" |
| 24 | PACKAGECONFIG[linenoise] = "--with-cli=linenoise, , linenoise, , , editline readline" | 24 | PACKAGECONFIG[linenoise] = "--with-cli=linenoise, , linenoise, , , editline readline" |
| @@ -27,10 +27,14 @@ PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp" | |||
| 27 | PACKAGECONFIG[python] = "" | 27 | PACKAGECONFIG[python] = "" |
| 28 | PACKAGECONFIG[readline] = "--with-cli=readline, , readline, , , editline linenoise" | 28 | PACKAGECONFIG[readline] = "--with-cli=readline, , readline, , , editline linenoise" |
| 29 | PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables" | 29 | PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables" |
| 30 | PACKAGECONFIG[systemd] = "--with-unitdir=${systemd_system_unitdir}, --without-unitdir" | ||
| 30 | 31 | ||
| 31 | EXTRA_OECONF = " \ | 32 | EXTRA_OECONF = " \ |
| 32 | ${@bb.utils.contains_any('PACKAGECONFIG', 'editline linenoise readline', '', '--without-cli', d)}" | 33 | ${@bb.utils.contains_any('PACKAGECONFIG', 'editline linenoise readline', '', '--without-cli', d)}" |
| 33 | 34 | ||
| 35 | SYSTEMD_SERVICE:${PN} = "nftables.service" | ||
| 36 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" | ||
| 37 | |||
| 34 | PEP517_SOURCE_PATH = "${S}/py" | 38 | PEP517_SOURCE_PATH = "${S}/py" |
| 35 | 39 | ||
| 36 | # xtables will need it on musl see iptables | 40 | # xtables will need it on musl see iptables |
