diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /net-analyzer/fail2ban/files | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'net-analyzer/fail2ban/files')
-rw-r--r-- | net-analyzer/fail2ban/files/fail2ban-0.11.2-fix-py3.10-collections.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-analyzer/fail2ban/files/fail2ban-0.11.2-fix-py3.10-collections.patch b/net-analyzer/fail2ban/files/fail2ban-0.11.2-fix-py3.10-collections.patch new file mode 100644 index 000000000000..6cf4e194b089 --- /dev/null +++ b/net-analyzer/fail2ban/files/fail2ban-0.11.2-fix-py3.10-collections.patch @@ -0,0 +1,33 @@ +--- a/fail2ban/server/action.py ++++ b/fail2ban/server/action.py +@@ -30,7 +30,7 @@ import tempfile + import threading + import time + from abc import ABCMeta +-from collections import MutableMapping ++from collections.abc import MutableMapping + + from .failregex import mapTag2Opt + from .ipdns import DNSUtils +--- a/fail2ban/server/actions.py ++++ b/fail2ban/server/actions.py +@@ -28,7 +28,7 @@ import logging + import os + import sys + import time +-from collections import Mapping ++from collections.abc import Mapping + try: + from collections import OrderedDict + except ImportError: +--- a/fail2ban/server/jails.py ++++ b/fail2ban/server/jails.py +@@ -22,7 +22,7 @@ __copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2013- Yaroslav Halchenko" + __license__ = "GPL" + + from threading import Lock +-from collections import Mapping ++from collections.abc import Mapping + + from ..exceptions import DuplicateJailException, UnknownJailException + from .jail import Jail |