diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2018-04-16 15:40:12 +0800 | 
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-04-16 07:25:10 -0400 | 
| commit | 500e5d2ad58f78d3aa5132081123955b6681bb8c (patch) | |
| tree | 0af4fda14f47b594e996fe4214a080c880ca63e3 /recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch | |
| parent | 97fea33badac9e674365744a559006b70d2e1222 (diff) | |
| download | meta-virtualization-500e5d2ad58f78d3aa5132081123955b6681bb8c.tar.gz | |
openvswitch: refresh patches to fix QA warning
Refresh patches with devtool command to fix do_patch warning.
Drop CVE-2017-9263.patch since it had been fixed upstream.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch')
| -rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch | 24 | 
1 files changed, 11 insertions, 13 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch b/recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch index d6197588..7bdcc003 100644 --- a/recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch +++ b/recipes-networking/openvswitch/openvswitch-git/0001-Python3-compatibility-Convert-print-statements.patch  | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From c5c18f9c5f1b7217d43af43be9736c1762c7ebba Mon Sep 17 00:00:00 2001 | 1 | From 3658d861c3c83caab9040bec04b195be3f86d4ce Mon Sep 17 00:00:00 2001 | 
| 2 | From: Jason Wessel <jason.wessel@windriver.com> | 2 | From: Jason Wessel <jason.wessel@windriver.com> | 
| 3 | Date: Thu, 29 Jun 2017 20:33:23 -0700 | 3 | Date: Thu, 29 Jun 2017 20:33:23 -0700 | 
| 4 | Subject: [PATCH 1/8] Python3 compatibility: Convert print statements | 4 | Subject: [PATCH] Python3 compatibility: Convert print statements | 
| 5 | 5 | ||
| 6 | Commit d34a1cc02536f9a812517a71accec3fbd3c6c98b from | 6 | Commit d34a1cc02536f9a812517a71accec3fbd3c6c98b from | 
| 7 | https://github.com/openvswitch/ovs.git | 7 | https://github.com/openvswitch/ovs.git | 
| @@ -11,6 +11,7 @@ python2. | |||
| 11 | 11 | ||
| 12 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | 12 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | 
| 13 | Signed-off-by: Ben Pfaff <blp@ovn.org> | 13 | Signed-off-by: Ben Pfaff <blp@ovn.org> | 
| 14 | |||
| 14 | --- | 15 | --- | 
| 15 | build-aux/check-structs | 4 +- | 16 | build-aux/check-structs | 4 +- | 
| 16 | build-aux/extract-ofp-actions | 68 +++--- | 17 | build-aux/extract-ofp-actions | 68 +++--- | 
| @@ -22,7 +23,7 @@ Signed-off-by: Ben Pfaff <blp@ovn.org> | |||
| 22 | 7 files changed, 306 insertions(+), 305 deletions(-) | 23 | 7 files changed, 306 insertions(+), 305 deletions(-) | 
| 23 | 24 | ||
| 24 | diff --git a/build-aux/check-structs b/build-aux/check-structs | 25 | diff --git a/build-aux/check-structs b/build-aux/check-structs | 
| 25 | index f79f235..bae511f 100755 | 26 | index 5129b72..cbb19b6 100755 | 
| 26 | --- a/build-aux/check-structs | 27 | --- a/build-aux/check-structs | 
| 27 | +++ b/build-aux/check-structs | 28 | +++ b/build-aux/check-structs | 
| 28 | @@ -211,7 +211,7 @@ def checkStructs(): | 29 | @@ -211,7 +211,7 @@ def checkStructs(): | 
| @@ -44,7 +45,7 @@ index f79f235..bae511f 100755 | |||
| 44 | 45 | ||
| 45 | global fileName | 46 | global fileName | 
| 46 | diff --git a/build-aux/extract-ofp-actions b/build-aux/extract-ofp-actions | 47 | diff --git a/build-aux/extract-ofp-actions b/build-aux/extract-ofp-actions | 
| 47 | index 0062ab8..874e6b4 100755 | 48 | index ee8c4ff..67e3848 100755 | 
| 48 | --- a/build-aux/extract-ofp-actions | 49 | --- a/build-aux/extract-ofp-actions | 
| 49 | +++ b/build-aux/extract-ofp-actions | 50 | +++ b/build-aux/extract-ofp-actions | 
| 50 | @@ -67,7 +67,7 @@ def fatal(msg): | 51 | @@ -67,7 +67,7 @@ def fatal(msg): | 
| @@ -187,7 +188,7 @@ index 0062ab8..874e6b4 100755 | |||
| 187 | if __name__ == '__main__': | 188 | if __name__ == '__main__': | 
| 188 | if '--help' in sys.argv: | 189 | if '--help' in sys.argv: | 
| 189 | diff --git a/build-aux/extract-ofp-errors b/build-aux/extract-ofp-errors | 190 | diff --git a/build-aux/extract-ofp-errors b/build-aux/extract-ofp-errors | 
| 190 | index 2312b76..336a240 100755 | 191 | index e36444e..97d62d2 100755 | 
| 191 | --- a/build-aux/extract-ofp-errors | 192 | --- a/build-aux/extract-ofp-errors | 
| 192 | +++ b/build-aux/extract-ofp-errors | 193 | +++ b/build-aux/extract-ofp-errors | 
| 193 | @@ -426,7 +426,7 @@ static const struct ofperr_domain %s = { | 194 | @@ -426,7 +426,7 @@ static const struct ofperr_domain %s = { | 
| @@ -200,7 +201,7 @@ index 2312b76..336a240 100755 | |||
| 200 | print (" { -1, -1, -1 }, /* %s */" % enum) | 201 | print (" { -1, -1, -1 }, /* %s */" % enum) | 
| 201 | print ("""\ | 202 | print ("""\ | 
| 202 | diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields | 203 | diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields | 
| 203 | index 498b887..425a85f 100755 | 204 | index c248e76..80c7d35 100755 | 
| 204 | --- a/build-aux/extract-ofp-fields | 205 | --- a/build-aux/extract-ofp-fields | 
| 205 | +++ b/build-aux/extract-ofp-fields | 206 | +++ b/build-aux/extract-ofp-fields | 
| 206 | @@ -728,7 +728,7 @@ def make_ovs_fields(meta_flow_h, meta_flow_xml): | 207 | @@ -728,7 +728,7 @@ def make_ovs_fields(meta_flow_h, meta_flow_xml): | 
| @@ -213,7 +214,7 @@ index 498b887..425a85f 100755 | |||
| 213 | recursively_replace(doc, 'oxm_classes', make_oxm_classes_xml(document)) | 214 | recursively_replace(doc, 'oxm_classes', make_oxm_classes_xml(document)) | 
| 214 | 215 | ||
| 215 | diff --git a/build-aux/extract-ofp-msgs b/build-aux/extract-ofp-msgs | 216 | diff --git a/build-aux/extract-ofp-msgs b/build-aux/extract-ofp-msgs | 
| 216 | index 1813638..a67e870 100755 | 217 | index c2a91f9..92c4bda 100755 | 
| 217 | --- a/build-aux/extract-ofp-msgs | 218 | --- a/build-aux/extract-ofp-msgs | 
| 218 | +++ b/build-aux/extract-ofp-msgs | 219 | +++ b/build-aux/extract-ofp-msgs | 
| 219 | @@ -56,14 +56,14 @@ def fatal(msg): | 220 | @@ -56,14 +56,14 @@ def fatal(msg): | 
| @@ -241,7 +242,7 @@ index 1813638..a67e870 100755 | |||
| 241 | + print(line) | 242 | + print(line) | 
| 242 | 243 | ||
| 243 | diff --git a/ovsdb/ovsdb-doc b/ovsdb/ovsdb-doc | 244 | diff --git a/ovsdb/ovsdb-doc b/ovsdb/ovsdb-doc | 
| 244 | index 5cf26ee..b34fb11 100755 | 245 | index bdf2dcc..e82ad59 100755 | 
| 245 | --- a/ovsdb/ovsdb-doc | 246 | --- a/ovsdb/ovsdb-doc | 
| 246 | +++ b/ovsdb/ovsdb-doc | 247 | +++ b/ovsdb/ovsdb-doc | 
| 247 | @@ -258,7 +258,7 @@ represent strong references; thin lines represent weak references. | 248 | @@ -258,7 +258,7 @@ represent strong references; thin lines represent weak references. | 
| @@ -272,11 +273,11 @@ index 5cf26ee..b34fb11 100755 | |||
| 272 | except error.Error, e: | 273 | except error.Error, e: | 
| 273 | sys.stderr.write("%s: %s\n" % (argv0, e.msg)) | 274 | sys.stderr.write("%s: %s\n" % (argv0, e.msg)) | 
| 274 | diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in | 275 | diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in | 
| 275 | index 721ab50..1064448 100755 | 276 | index bfbcf23..62442ee 100755 | 
| 276 | --- a/ovsdb/ovsdb-idlc.in | 277 | --- a/ovsdb/ovsdb-idlc.in | 
| 277 | +++ b/ovsdb/ovsdb-idlc.in | 278 | +++ b/ovsdb/ovsdb-idlc.in | 
| 278 | @@ -1,5 +1,6 @@ | 279 | @@ -1,5 +1,6 @@ | 
| 279 | #! @PYTHON@ | 280 | #! /usr/bin/env @PYTHON@ | 
| 280 | 281 | ||
| 281 | +from __future__ import print_function | 282 | +from __future__ import print_function | 
| 282 | import getopt | 283 | import getopt | 
| @@ -1259,6 +1260,3 @@ index 721ab50..1064448 100755 | |||
| 1259 | elif key in ['-C', '--directory']: | 1260 | elif key in ['-C', '--directory']: | 
| 1260 | os.chdir(value) | 1261 | os.chdir(value) | 
| 1261 | else: | 1262 | else: | 
| 1262 | -- | ||
| 1263 | 2.5.0 | ||
| 1264 | |||
