fail2ban: Fix compatibility with Python 3.11
authorJeffery To <jeffery.to@gmail.com>
Fri, 24 Nov 2023 07:21:26 +0000 (15:21 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 18 Feb 2024 16:04:01 +0000 (17:04 +0100)
commit2c24e0e2699c0a1f372efae91d9c3ef06690eb06
tree5f2d2ea0764be119fe2ae7c7866ebfdf89bae19a
parentb54b3ce36f6a2b70c3127fcaa6e0fa05ebe4c8aa
fail2ban: Fix compatibility with Python 3.11

This backports 2 commits from upstream[1]; the other 3 are not strictly
necessary. One of the patches has been updated to remove a change to a
regex that does not exist in 0.11.2.

[1]: https://github.com/fail2ban/fail2ban/pull/3267

Fixes: https://github.com/openwrt/packages/issues/22736
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0d9cc4aed202c9126966f7a9e73eaa7f48d51b6b)
net/fail2ban/patches/101-move-global-groups-to-start-of-expression-python-3.11-compat.patch [new file with mode: 0644]
net/fail2ban/patches/102-wrap-global-flags-to-local-flags-if-supported-by-RE-engine-in-the-python-version.patch [new file with mode: 0644]