diff options
author | Mariano Lopez <just.another.mariano@gmail.com> | 2019-07-23 20:01:46 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-07-23 18:39:29 -0700 |
commit | a8f362deb33958b9be2a38b626242a4174e15f4f (patch) | |
tree | 5e3c640c3b9c991cd85390d103ff5622852d9ad5 /meta-networking/recipes-filter | |
parent | 915098ffaec33087c552bacf6393e3fcac24ef9c (diff) | |
download | meta-openembedded-a8f362deb33958b9be2a38b626242a4174e15f4f.tar.gz |
nftables: 0.9.0 > 0.9.1
The upgrade includes a new python library, therefore added the
{PN}-python package.
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-filter')
-rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_0.9.1.bb (renamed from meta-networking/recipes-filter/nftables/nftables_0.9.0.bb) | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_0.9.0.bb b/meta-networking/recipes-filter/nftables/nftables_0.9.1.bb index 3ff9583fc..9d0da33e3 100644 --- a/meta-networking/recipes-filter/nftables/nftables_0.9.0.bb +++ b/meta-networking/recipes-filter/nftables/nftables_0.9.1.bb | |||
@@ -7,16 +7,22 @@ DEPENDS = "libmnl libnftnl readline gmp bison-native" | |||
7 | 7 | ||
8 | UPSTREAM_CHECK_URI = "https://www.netfilter.org/projects/nftables/files/" | 8 | UPSTREAM_CHECK_URI = "https://www.netfilter.org/projects/nftables/files/" |
9 | 9 | ||
10 | SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2 \ | 10 | SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2" |
11 | " | 11 | SRC_URI[md5sum] = "e2facbcad6c5d9bd87a0bf5081a31522" |
12 | SRC_URI[md5sum] = "d4dcb61df80aa544b2e142e91d937635" | 12 | SRC_URI[sha256sum] = "ead3bb68ed540bfbb87a96f2b69c3d65ab0c2a0c3f6e739a395c09377d1b4fce" |
13 | SRC_URI[sha256sum] = "ad8181b5fcb9ca572f444bed54018749588522ee97e4c21922648bb78d7e7e91" | ||
14 | 13 | ||
15 | inherit autotools manpages pkgconfig | 14 | inherit autotools manpages pkgconfig |
16 | 15 | ||
17 | PACKAGECONFIG ?= "" | 16 | PACKAGECONFIG ?= "python" |
18 | PACKAGECONFIG[man] = "--enable--man-doc, --disable-man-doc" | 17 | PACKAGECONFIG[man] = "--enable--man-doc, --disable-man-doc" |
18 | PACKAGECONFIG[python] = "--with-python-bin=${PYTHON}, --with-python-bin="", python3" | ||
19 | |||
20 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} | ||
19 | 21 | ||
20 | ASNEEDED = "" | 22 | ASNEEDED = "" |
21 | 23 | ||
22 | RRECOMMENDS_${PN} += "kernel-module-nf-tables" | 24 | RRECOMMENDS_${PN} += "kernel-module-nf-tables" |
25 | |||
26 | PACKAGES =+ "${PN}-python" | ||
27 | FILES_${PN}-python = "${libdir_native}/${PYTHON_DIR}" | ||
28 | RDEPENDS_${PN}-python = "python3-core python3-json" | ||