<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-networking/recipes-connectivity/ufw, branch master</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2025-12-09T07:22:19+00:00</updated>
<entry>
<title>ufw: upgrade 0.36.1 -&gt; 0.36.2</title>
<updated>2025-12-09T07:22:19+00:00</updated>
<author>
<name>Liu Yiding</name>
<email>liuyd.fnst@fujitsu.com</email>
</author>
<published>2025-12-09T05:56:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=f0622d3e5cf457edf13345adfe90b0f12a544162'/>
<id>urn:sha1:f0622d3e5cf457edf13345adfe90b0f12a544162</id>
<content type='text'>
Signed-off-by: Liu Yiding &lt;liuyd.fnst@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: Fix "could not find required binary 'iptables'"</title>
<updated>2022-09-15T19:17:30+00:00</updated>
<author>
<name>Howard Cochran</name>
<email>Howard_Cochran@jabil.com</email>
</author>
<published>2022-09-15T18:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=63fd43b7911dbc8cd7db6faf950880f4b7fce048'/>
<id>urn:sha1:63fd43b7911dbc8cd7db6faf950880f4b7fce048</id>
<content type='text'>
Switch from using DISTUTILS_*_ARGS to SETUPTOOLS_*_ARGS to correspond
with the earlier change to use setuptools3_legacy instead of distutils3.

Without this change, you will get the following error if your build host
does not have iptables installed:

Fixes:
  ERROR: ufw-0.36.1-r0 do_compile: 'python3 setup.py build ' execution failed.
  Log data follows:
  | DEBUG: Executing shell function do_compile
  | ERROR: could not find required binary 'iptables'
  | ERROR: 'python3 setup.py build ' execution failed.
  | WARNING: exit code 1 from a shell command.
  ERROR: Task ([snip]/meta-openembedded/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb:do_compile) failed with exit code '1'

Also, although the build will not fail on a host that has iptables, it
could cause a problem if it is installed at a different path than where
OpenEmbedded's iptables will be installed on the target.

Fixes: 3e2ed1dcc088 ("ufw: port to setuptools, use setuptools_legacy")
Signed-off-by: Howard Cochran &lt;howard_cochran@jabil.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: Fix packaging errors found with ppc64</title>
<updated>2022-04-30T13:33:43+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-04-30T13:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=42e6f16583e36857152ccb53b177e74f20b02667'/>
<id>urn:sha1:42e6f16583e36857152ccb53b177e74f20b02667</id>
<content type='text'>
default baselib in ppc64 is lib64 which catches this latent issue

ERROR: ufw-0.36.1-r0 do_package: QA Issue: ufw: Files/directories were installed but not shipped in any package:
  /usr/lib/ufw
  /usr/lib/ufw/ufw-init
  /usr/lib/ufw/ufw-init-functions

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: Fix build with usrmerge distro feature</title>
<updated>2022-04-25T17:44:13+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-04-24T01:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a47c833126334404fcad459cc683e304fee54595'/>
<id>urn:sha1:a47c833126334404fcad459cc683e304fee54595</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: port to setuptools, use setuptools_legacy</title>
<updated>2022-03-05T01:41:45+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2022-03-04T13:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=3e2ed1dcc0887964bc4034f863fce7e24c70570e'/>
<id>urn:sha1:3e2ed1dcc0887964bc4034f863fce7e24c70570e</id>
<content type='text'>
This package has a traditional setup.py which has a custom install command,
which isn't supported with the modern wheel/pip installation method.

Until upstream has moved away from distutils, use setuptools_legacy so
the installation is correct.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes: Update LICENSE variable to use SPDX license identifiers</title>
<updated>2022-03-05T01:41:45+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-03-04T08:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=7d8a0e840dd9fc6aabfe29413f3564ef0dc481f8'/>
<id>urn:sha1:7d8a0e840dd9fc6aabfe29413f3564ef0dc481f8</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: Upgrade to 0.36.1 bugfix release</title>
<updated>2022-03-01T17:13:42+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-02-28T21:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6ce000f6671779b475262b56baf3f22907d6fdc9'/>
<id>urn:sha1:6ce000f6671779b475262b56baf3f22907d6fdc9</id>
<content type='text'>
Forward port 0002-add-an-option-to-specify-iptables-location.patch

Use distutils3, since it still needs it [1]

[1] https://git.launchpad.net/ufw/tree/setup.py#n28

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Convert to new override syntax</title>
<updated>2021-08-03T17:21:25+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2021-07-29T15:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=c61dc077bbd81260e4f167fa2251643ba0ba6974'/>
<id>urn:sha1:c61dc077bbd81260e4f167fa2251643ba0ba6974</id>
<content type='text'>
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: bump version to 0.36 and add services</title>
<updated>2021-05-03T15:07:40+00:00</updated>
<author>
<name>Silcet</name>
<email>camorga1@gmail.com</email>
</author>
<published>2021-04-27T06:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=0a0894b78e7423bb4c55a630a3d9a16e4bf9b97c'/>
<id>urn:sha1:0a0894b78e7423bb4c55a630a3d9a16e4bf9b97c</id>
<content type='text'>
This commit brings the version of ufw up to 0.36 since version 0.33
had some problems:
* The setup.py calls sed to replace some variables in the source
code with the correct paths. However, this is done using a hardcoded
path and conflicts with distutils
* The python shebang was not properly corrected in setup.py, leading
to a script that only run if there is a python symlink to python2 or
python3

The first issue is addressed by the bump in version, while the second
one is fixed in patch 0003 of the recipe.

Also, the new version provides examples for systemd service and
sysvinit scripts to autostart ufw. These are added into the recipe
now.

Signed-off-by: Silcet &lt;camorga1@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>ufw: fix python shebang</title>
<updated>2021-04-29T16:02:39+00:00</updated>
<author>
<name>Silcet</name>
<email>camorga1@gmail.com</email>
</author>
<published>2021-04-23T14:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=5194af1afd6b1e834af52e9b38d5ae6e19c637b0'/>
<id>urn:sha1:5194af1afd6b1e834af52e9b38d5ae6e19c637b0</id>
<content type='text'>
[meta-openembedded ticket #327] --
https://github.com/openembedded/meta-openembedded/issues/327

The python version in the shebang at the begining of the ufw script
should be the same one as the version the setup.py script was called
with.

The fix in patch "setup-only-make-one-reference-to-env.patch"
depends on sys.executable returning "/usr/bin/env pythonX". However,
it returns "/usr/bin/pythonX". Using sys.version_info we can get the
major version of the python used to called the script and append
that to the shebang line so it works as intended.

Signed-off-by: Silcet &lt;camorga1@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
