[oe-commits] [meta-openembedded] 09/11: nftables: 0.9.0 > 0.9.1

git at git.openembedded.org git at git.openembedded.org
Wed Jul 24 06:11:24 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit a8f362deb33958b9be2a38b626242a4174e15f4f
Author: Mariano Lopez <just.another.mariano at gmail.com>
AuthorDate: Tue Jul 23 20:01:46 2019 -0500

    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 at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../nftables/{nftables_0.9.0.bb => nftables_0.9.1.bb}    | 16 +++++++++++-----
 1 file 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
similarity index 51%
rename from meta-networking/recipes-filter/nftables/nftables_0.9.0.bb
rename to meta-networking/recipes-filter/nftables/nftables_0.9.1.bb
index 3ff9583..9d0da33 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"
 
 UPSTREAM_CHECK_URI = "https://www.netfilter.org/projects/nftables/files/"
 
-SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2 \
-           "
-SRC_URI[md5sum] = "d4dcb61df80aa544b2e142e91d937635"
-SRC_URI[sha256sum] = "ad8181b5fcb9ca572f444bed54018749588522ee97e4c21922648bb78d7e7e91"
+SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2"
+SRC_URI[md5sum] = "e2facbcad6c5d9bd87a0bf5081a31522"
+SRC_URI[sha256sum] = "ead3bb68ed540bfbb87a96f2b69c3d65ab0c2a0c3f6e739a395c09377d1b4fce"
 
 inherit autotools manpages pkgconfig
 
-PACKAGECONFIG ?= ""
+PACKAGECONFIG ?= "python"
 PACKAGECONFIG[man] = "--enable--man-doc, --disable-man-doc"
+PACKAGECONFIG[python] = "--with-python-bin=${PYTHON}, --with-python-bin="", python3"
+
+inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)}
 
 ASNEEDED = ""
 
 RRECOMMENDS_${PN} += "kernel-module-nf-tables"
+
+PACKAGES =+ "${PN}-python"
+FILES_${PN}-python = "${libdir_native}/${PYTHON_DIR}"
+RDEPENDS_${PN}-python = "python3-core python3-json"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list