[oe-commits] [meta-openembedded] 01/02: libnftnl: upgrade 1.1.3 -> 1.1.4

git at git.openembedded.org git at git.openembedded.org
Wed Aug 21 04:06:08 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 03c879e74805b2ff86d4d55e30c9ec5c6c0f2c06
Author: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
AuthorDate: Wed Aug 21 11:56:02 2019 +0900

    libnftnl: upgrade 1.1.3 -> 1.1.4
    
    Refresh patch:
        0002-avoid-naming-local-function-as-one-of-printf-family.patch
    Add two new file in this patch:
        src/expr/synproxy.c
        src/obj/ct_expect.c
    
    Signed-off-by: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 ...ng-local-function-as-one-of-printf-family.patch | 54 ++++++++++++++++------
 .../{libnftnl_1.1.3.bb => libnftnl_1.1.4.bb}       |  2 +-
 2 files changed, 41 insertions(+), 15 deletions(-)

diff --git a/meta-networking/recipes-filter/libnftnl/libnftnl/0002-avoid-naming-local-function-as-one-of-printf-family.patch b/meta-networking/recipes-filter/libnftnl/libnftnl/0002-avoid-naming-local-function-as-one-of-printf-family.patch
index 561f0e5..e64091b 100644
--- a/meta-networking/recipes-filter/libnftnl/libnftnl/0002-avoid-naming-local-function-as-one-of-printf-family.patch
+++ b/meta-networking/recipes-filter/libnftnl/libnftnl/0002-avoid-naming-local-function-as-one-of-printf-family.patch
@@ -1,6 +1,6 @@
-From 9e2c810ebc3c917ea7483205178416e9eaf952fe Mon Sep 17 00:00:00 2001
-From: Alex Kiernan <alex.kiernan at gmail.com>
-Date: Wed, 7 Nov 2018 19:41:54 +0000
+From 373e13e28e34b4d415fc096e1c7175f4ecfbf0da Mon Sep 17 00:00:00 2001
+From: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
+Date: Wed, 21 Aug 2019 11:18:56 +0900
 Subject: [PATCH] avoid naming local function as one of printf family
 
 Fixes build issues with clang
@@ -8,6 +8,8 @@ error: no member named '__builtin___snprintf_chk' in 'struct expr_ops'
 
 Signed-off-by: Khem Raj <raj.khem at gmail.com>
 Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
+
+Signed-off-by: Yuan Chao <yuanc.fnst at cn.fujitsu.com>
 ---
  include/expr_ops.h      | 2 +-
  include/obj.h           | 2 +-
@@ -44,11 +46,13 @@ Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
  src/expr/reject.c       | 2 +-
  src/expr/rt.c           | 2 +-
  src/expr/socket.c       | 2 +-
+ src/expr/synproxy.c     | 2 +-
  src/expr/target.c       | 2 +-
  src/expr/tproxy.c       | 2 +-
  src/expr/tunnel.c       | 2 +-
  src/expr/xfrm.c         | 2 +-
  src/obj/counter.c       | 2 +-
+ src/obj/ct_expect.c     | 2 +-
  src/obj/ct_helper.c     | 2 +-
  src/obj/ct_timeout.c    | 2 +-
  src/obj/limit.c         | 2 +-
@@ -56,7 +60,7 @@ Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
  src/obj/secmark.c       | 2 +-
  src/obj/tunnel.c        | 2 +-
  src/object.c            | 2 +-
- 47 files changed, 48 insertions(+), 48 deletions(-)
+ 49 files changed, 50 insertions(+), 50 deletions(-)
 
 diff --git a/include/expr_ops.h b/include/expr_ops.h
 index a7f1b9a..d2946de 100644
@@ -72,10 +76,10 @@ index a7f1b9a..d2946de 100644
  
  struct expr_ops *nftnl_expr_ops_lookup(const char *name);
 diff --git a/include/obj.h b/include/obj.h
-index 35b5c40..decd1ce 100644
+index 9394d79..08610d7 100644
 --- a/include/obj.h
 +++ b/include/obj.h
-@@ -92,7 +92,7 @@ struct obj_ops {
+@@ -99,7 +99,7 @@ struct obj_ops {
  	const void *(*get)(const struct nftnl_obj *e, uint16_t type, uint32_t *data_len);
  	int	(*parse)(struct nftnl_obj *e, struct nlattr *attr);
  	void	(*build)(struct nlmsghdr *nlh, const struct nftnl_obj *e);
@@ -157,10 +161,10 @@ index 89a602e..a32a69e 100644
 +	.snprintf_	= nftnl_expr_counter_snprintf,
  };
 diff --git a/src/expr/ct.c b/src/expr/ct.c
-index b9ca2dc..6fbed1d 100644
+index 124de9d..7bde179 100644
 --- a/src/expr/ct.c
 +++ b/src/expr/ct.c
-@@ -272,5 +272,5 @@ struct expr_ops expr_ops_ct = {
+@@ -273,5 +273,5 @@ struct expr_ops expr_ops_ct = {
  	.get		= nftnl_expr_ct_get,
  	.parse		= nftnl_expr_ct_parse,
  	.build		= nftnl_expr_ct_build,
@@ -190,10 +194,10 @@ index 68115ba..6e43bb4 100644
 +	.snprintf_	= nftnl_expr_dynset_snprintf,
  };
 diff --git a/src/expr/exthdr.c b/src/expr/exthdr.c
-index bef453e..f2696d6 100644
+index e5f714b..e68792b 100644
 --- a/src/expr/exthdr.c
 +++ b/src/expr/exthdr.c
-@@ -271,5 +271,5 @@ struct expr_ops expr_ops_exthdr = {
+@@ -276,5 +276,5 @@ struct expr_ops expr_ops_exthdr = {
  	.get		= nftnl_expr_exthdr_get,
  	.parse		= nftnl_expr_exthdr_parse,
  	.build		= nftnl_expr_exthdr_build,
@@ -311,10 +315,10 @@ index 4fa74b2..249c6b5 100644
 +	.snprintf_	= nftnl_expr_match_snprintf,
  };
 diff --git a/src/expr/meta.c b/src/expr/meta.c
-index ffcc896..5eaeb68 100644
+index 73f6efa..35d5ec5 100644
 --- a/src/expr/meta.c
 +++ b/src/expr/meta.c
-@@ -222,5 +222,5 @@ struct expr_ops expr_ops_meta = {
+@@ -226,5 +226,5 @@ struct expr_ops expr_ops_meta = {
  	.get		= nftnl_expr_meta_get,
  	.parse		= nftnl_expr_meta_parse,
  	.build		= nftnl_expr_meta_build,
@@ -453,6 +457,17 @@ index 96550d5..2394dbf 100644
 -	.snprintf	= nftnl_expr_socket_snprintf,
 +	.snprintf_	= nftnl_expr_socket_snprintf,
  };
+diff --git a/src/expr/synproxy.c b/src/expr/synproxy.c
+index 245f4fb..9721029 100644
+--- a/src/expr/synproxy.c
++++ b/src/expr/synproxy.c
+@@ -166,5 +166,5 @@ struct expr_ops expr_ops_synproxy = {
+ 	.get		= nftnl_expr_synproxy_get,
+ 	.parse		= nftnl_expr_synproxy_parse,
+ 	.build		= nftnl_expr_synproxy_build,
+-	.snprintf	= nftnl_expr_synproxy_snprintf,
++	.snprintf_	= nftnl_expr_synproxy_snprintf,
+ };
 diff --git a/src/expr/target.c b/src/expr/target.c
 index 9100038..7180085 100644
 --- a/src/expr/target.c
@@ -508,6 +523,17 @@ index 1baba4e..3710bce 100644
 -	.snprintf	= nftnl_obj_counter_snprintf,
 +	.snprintf_	= nftnl_obj_counter_snprintf,
  };
+diff --git a/src/obj/ct_expect.c b/src/obj/ct_expect.c
+index c0bb5ba..953c08c 100644
+--- a/src/obj/ct_expect.c
++++ b/src/obj/ct_expect.c
+@@ -209,5 +209,5 @@ struct obj_ops obj_ops_ct_expect = {
+ 	.get		= nftnl_obj_ct_expect_get,
+ 	.parse		= nftnl_obj_ct_expect_parse,
+ 	.build		= nftnl_obj_ct_expect_build,
+-	.snprintf	= nftnl_obj_ct_expect_snprintf,
++	.snprintf_	= nftnl_obj_ct_expect_snprintf,
+ };
 diff --git a/src/obj/ct_helper.c b/src/obj/ct_helper.c
 index d91f636..2037461 100644
 --- a/src/obj/ct_helper.c
@@ -575,10 +601,10 @@ index 7ffade8..800eb3e 100644
 +	.snprintf_	= nftnl_obj_tunnel_snprintf,
  };
 diff --git a/src/object.c b/src/object.c
-index 5c8d183..d489cdd 100644
+index d8c87ee..5307d7e 100644
 --- a/src/object.c
 +++ b/src/object.c
-@@ -369,7 +369,7 @@ static int nftnl_obj_snprintf_dflt(char *buf, size_t size,
+@@ -370,7 +370,7 @@ static int nftnl_obj_snprintf_dflt(char *buf, size_t size,
  	SNPRINTF_BUFFER_SIZE(ret, remain, offset);
  
  	if (obj->ops) {
diff --git a/meta-networking/recipes-filter/libnftnl/libnftnl_1.1.3.bb b/meta-networking/recipes-filter/libnftnl/libnftnl_1.1.4.bb
similarity index 90%
rename from meta-networking/recipes-filter/libnftnl/libnftnl_1.1.3.bb
rename to meta-networking/recipes-filter/libnftnl/libnftnl_1.1.4.bb
index 00bf88d..705b6a6 100644
--- a/meta-networking/recipes-filter/libnftnl/libnftnl_1.1.3.bb
+++ b/meta-networking/recipes-filter/libnftnl/libnftnl_1.1.4.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=79808397c3355f163c012616125c9e26"
 SECTION = "libs"
 DEPENDS = "libmnl"
 
-SRCREV = "d819a832e0214a3bec3679345f542644596a2850"
+SRCREV = "7c19dc01a88dbcf9a45fa791cd27a51b563bcf29"
 SRC_URI = "git://git.netfilter.org/libnftnl \
            file://0001-Move-exports-before-symbol-definition.patch \
            file://0002-avoid-naming-local-function-as-one-of-printf-family.patch \

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


More information about the Openembedded-commits mailing list