fail2ban: Fix compatibility with Python 3.11 22761/head
authorJeffery To <jeffery.to@gmail.com>
Fri, 24 Nov 2023 07:21:26 +0000 (15:21 +0800)
committerTianling Shen <cnsztl@gmail.com>
Thu, 30 Nov 2023 05:04:58 +0000 (13:04 +0800)
commit0d9cc4aed202c9126966f7a9e73eaa7f48d51b6b
tree5988cf6a205abd394e1e0b34dab6ad94198aec94
parent72c63100aabea798919cdee3c84a2b022f252f72
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>
net/fail2ban/Makefile
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]