diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-05-04 10:56:23 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-05-06 12:22:35 +0200 |
commit | 6567fd4072acb3d9c7a3d8347b9dc86af5e7c60f (patch) | |
tree | c0f728f907373d4a664e71ca71a43b1eea03737e /gnu/packages/patches/fail2ban-python310-server-jails.patch | |
parent | 43a5197c6cbd6c5b24d1057db2171b78e04e39df (diff) |
gnu: fail2ban: Update to 1.1.0.
* gnu/packages/patches/fail2ban-0.11.2_CVE-2021-32749.patch,
gnu/packages/fail2ban-0.11.2_fix-setuptools-drop-2to3.patch,
gnu/packages/patches/fail2ban-0.11.2_fix-test-suite.patch,
gnu/packages/patches/fail2ban-python310-server-action.patch,
gnu/packages/fail2ban-python310-server-actions.patch: Delete patches.
* gnu/local.mk: Deregister patches.
* gnu/packages/admin.scm (fail2ban): Update to 1.1.0.
[source]<snippet>: Use (srfi srfi-26) for readability.
<patches>: Deregister patches.
[build-system]: Switch to pyproject-build-system.
[arguments]<phases>: Remove phase 'invoke-2to3. Add phase
'avoid-external-binary-in-/bin to avoid creating a symlink to
python-wrapper binary during installation (current 'install phase
breaks otherwise). Run phases 'fix-default-config and
'set-action-dependencies before 'build phase (needed for pyproject).
[native-inputs]: Add python-setuptools, python-wheel.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/fail2ban-python310-server-jails.patch')
-rw-r--r-- | gnu/packages/patches/fail2ban-python310-server-jails.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gnu/packages/patches/fail2ban-python310-server-jails.patch b/gnu/packages/patches/fail2ban-python310-server-jails.patch deleted file mode 100644 index e5873c415e..0000000000 --- a/gnu/packages/patches/fail2ban-python310-server-jails.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9f1d1f4fbd0804695a976beb191f2c49a2739834 Mon Sep 17 00:00:00 2001 -From: "Sergey G. Brester" <serg.brester@sebres.de> -Date: Mon, 8 Feb 2021 17:35:59 +0100 -Subject: [PATCH] amend for `Mapping` (jails) - ---- - fail2ban/server/jails.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/fail2ban/server/jails.py b/fail2ban/server/jails.py -index 972a8c4bd2..27e12ddf65 100644 ---- a/fail2ban/server/jails.py -+++ b/fail2ban/server/jails.py -@@ -22,7 +22,10 @@ - __license__ = "GPL" - - from threading import Lock --from collections import Mapping -+try: -+ from collections.abc import Mapping -+except ImportError: -+ from collections import Mapping - - from ..exceptions import DuplicateJailException, UnknownJailException - from .jail import Jail |