Commit Graph

9 Commits

Author SHA1 Message Date
Michal Vasilek
5201c73363 fail2ban: fix patch for python 3.10
89d5d2e091c8da10a1c963158a6de92b05079116 only patched importing
MutableMapping from collections, but importing Mapping has to be patched
too

Closes: #18681
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-11-16 15:17:13 +08:00
Kerma Gérald
9addea2d4b fail2ban: fix 2to3 error
Issue: 2to3 support has been removed in setuptools since version 58.0.0.

Fix: openwrt/packages#17311

Requirements: 2to3/host openwrt/packages#17429

Add upstream patch: 196c55e931

To install/build for python3 from source, it is necessary to convert to py3
codebase before setup (invoke 2to3 or ./fail2ban-2to3 firstly).
> ./fail2ban-2to3
> python3 setup.py build

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-02-06 15:38:02 +00:00
Alexander Ryzhov
a812b19fa1 fail2ban: Python 10.0 compatibility
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
2022-02-06 15:37:53 +00:00
Michal Vasilek
1e60603ebb fail2ban: patch CVE-2021-32749
* switch to AUTORELEASE

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-02-06 15:37:42 +00:00
Vladislav Grigoryev
74081e2f3f fail2ban: fix hotplug when disabled
Avoid restarting fail2ban by hotplug when the service is disabled.
Related issue: https://github.com/openwrt/packages/issues/16601

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2022-02-06 15:37:33 +00:00
Kerma Gérald
90078d9653 fail2ban: fix package for fail2ban v0.11.2
fail2ban v0.11.2 package version 2

Following PR #15098, add fixes to build fail2ban package:
- remove use of fail2ban-python (directly use python3 in script)
- remove link to python3 in /usr/bin (break the package build)
- remove python-tests (reduce the package size)

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-02-06 15:37:25 +00:00
Kerma Gérald
ec6bf0a96f fail2ban: initial package of fail2ban version 0.11.2
python3-pyinotify: initial package version 0.9.6 of pyinotify for python3

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-02-06 15:37:18 +00:00
Beginner
21effc40df Revert "fail2ban: add new package" 2022-02-06 23:36:22 +08:00
Gerald Kerma
26b52a5296 fail2ban: add new package
from: https://github.com/coolsnowwolf/packages/pull/298
2021-12-12 02:01:12 +00:00