Skip to contentSkip to conversation

ufw: backport patches, update RRECOMMENDS, python3 support, tests

PATCH New Jate Sujjavanich 1 participant 1 message Jul 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ufw: backport patches, update RRECOMMENDS, python3 support, tests

Backport patches:
using conntrack instead of state eliminating warning support setup.py build (python 3)
adjust runtime tests to use daytime port (netbase changes) empty out IPT_MODULES (nf conntrack warning) check-requirements patch for python 3.8
Update, add patches for python 3 interpreter
Add ufw-test package. Backport fixes for check-requirements script Update kernel RRECOMMENDS for linux-yocto 5.4 in dunfell

For dunfell

---
 .../0006-check-requirements-get-error.patch   |    36 +
 ...se-conntrack-instead-of-state-module.patch | 14903 ++++++++++++++++
 ...8-support-.-setup.py-build-LP-819600.patch |    93 +
 ...st-runtime-tests-to-use-daytime-port.patch |  2895 +++
 ...IPT_MODULES-and-update-documentation.patch |   106 +
 ...nts--simplify-and-support-python-3.8.patch |    33 +
 ...tect-openembedded-python-interpreter.patch |    33 +
 ...setup-only-make-one-reference-to-env.patch |    14 +-
 .../recipes-connectivity/ufw/ufw_0.33.bb      |    49 +-
 9 files changed, 18155 insertions(+), 7 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/0006-check-requirements-get-error.patch
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/0007-use-conntrack-instead-of-state-module.patch
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/0008-support-.-setup.py-build-LP-819600.patch
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/0009-adjust-runtime-tests-to-use-daytime-port.patch
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/0010-empty-out-IPT_MODULES-and-update-documentation.patch
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/0011-tests-check-requirements--simplify-and-support-python-3.8.patch
 create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/Add-code-to-detect-openembedded-python-interpreter.patch
meta-networking/recipes-connectivity/ufw/ufw/0006-check-requirements-get-error.patch new file +36 -0
new file mode 100644
index 000000000..9c268599f
@@ -0,0 +1,36 @@
+ * check-requirements now gives iptables output on failure. Patch thanks to
+    S. Nizio.
+
+Written by Jamie Strandboge <[email protected]>
+
+The patch was imported from git://git.launchpad.net/ufw
+commit id 9a6d8beb4cb1d1646c7d2a19e4aea9898f4571bb
+
+Removed ChangeLog patch due to backport status of this patch.
+
+Upstream-Status: Backport
+Signed-off-by: Jate Sujjavanich <[email protected]>
+
+--- check-requirements.orig 2012-12-03 16:37:20.214274095 +0100
++++ ufw-0.33/tests/check-requirements   2012-12-03 16:40:16.298728133 +0100
+@@ -29,14 +29,19 @@
+         runtime="yes"
+         shift 1
+     fi
+-    if $@ >/dev/null 2>&1 ; then
++    local output ret=0
++    # make sure to always return success below because of set -e
++    output=$( "$@" 2>&1 ) || ret=$?
++    if [ $ret -eq 0 ]; then
+         echo pass
+     else
+         if [ "$runtime" = "yes" ]; then
+             echo "FAIL (no runtime support)"
++            echo "error was: $output"
+             error_runtime="yes"
+         else
+             echo FAIL
++            echo "error was: $output"
+             error="yes"
+         fi
+     fi
meta-networking/recipes-connectivity/ufw/ufw/0007-use-conntrack-instead-of-state-module.patch new file +14903 -0

2,964 lines not on this page · raw message

meta-networking/recipes-connectivity/ufw/ufw/0008-support-.-setup.py-build-LP-819600.patch new file +93 -0

93 lines not on this page · raw message

meta-networking/recipes-connectivity/ufw/ufw/0009-adjust-runtime-tests-to-use-daytime-port.patch new file +2895 -0

2,895 lines not on this page · raw message

meta-networking/recipes-connectivity/ufw/ufw/0010-empty-out-IPT_MODULES-and-update-documentation.patch new file +106 -0

106 lines not on this page · raw message

meta-networking/recipes-connectivity/ufw/ufw/0011-tests-check-requirements--simplify-and-support-python-3.8.patch new file +33 -0
new file mode 100644
index 000000000..ea48c83b8

Lines of this file are not shown. View the raw message.

meta-networking/recipes-connectivity/ufw/ufw/Add-code-to-detect-openembedded-python-interpreter.patch new file +33 -0
new file mode 100644
index 000000000..85d51ca21

Lines of this file are not shown. View the raw message.

meta-networking/recipes-connectivity/ufw/ufw/setup-only-make-one-reference-to-env.patch +12 -2
index ff704b5a4..f487a6fd6 100644

Lines of this file are not shown. View the raw message.

meta-networking/recipes-connectivity/ufw/ufw_0.33.bb +44 -5

49 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.