* [Buildroot] [PATCH v3 0/4] Update fail2ban to 1.1.0, add dependencies
@ 2024-07-09 10:18 Fiona Klute via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package Fiona Klute via buildroot
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: Fiona Klute via buildroot @ 2024-07-09 10:18 UTC (permalink / raw)
To: buildroot
Cc: James Hilliard, Asaf Kahlon, Angelo Compagnucci, Thomas Petazzoni,
Fiona Klute (WIWA)
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
This patch series (unfortunately still not merged) by Angelo
Compagnucci fixed the fail2ban 1.0.2 build:
https://patchwork.ozlabs.org/project/buildroot/list/?series=403756
However it broke again with Python 3.12 due to incompatibilities in
upstream code. The 1.1.0 release fixes those, unfortunately it still
requires ported asyncore and asynchat modules. This series builds on
Angelo's (must be merged after) and updates fail2ban to 1.1.0 after
adding the required compatibility packages.
I hope the combined fixes (Angelo's and mine) can be merged soon. The
fail2ban build has been broken at least since April,
http://autobuild.buildroot.net/results/470/4709367a39a8ceb41b58454fc9638441a40624e0//
is the oldest example I can find in the autobuild output. I could add
a Fixes tag, but I'm not sure if that'd be appropriate here because
it's only correct when combined with Angelo's patches.
Changes v2 -> v3:
* Add "# runtime" comment for pyasynchat dependency, drop
FAIL2BAN_DEPENDENCIES in fail2ban.mk
Changes v1 -> v2:
* Add patch 4 to fix the sshd filter with OpenSSH 9.8
Fiona Klute (WIWA) (4):
package/python-pyasyncore: new package
package/python-pyasynchat: new package
package/fail2ban: bump version to 1.1.0
package/fail2ban: fix sshd filter with OpenSSH 9.8
package/Config.in | 2 ++
...lter-for-openssh-9.8-new-daemon-name.patch | 24 +++++++++++++++++++
...shd.conf-ungroup-unneeded-for-daemon.patch | 24 +++++++++++++++++++
package/fail2ban/Config.in | 1 +
package/fail2ban/fail2ban.hash | 2 +-
package/fail2ban/fail2ban.mk | 14 +++++------
package/python-pyasynchat/Config.in | 11 +++++++++
.../python-pyasynchat/python-pyasynchat.hash | 5 ++++
.../python-pyasynchat/python-pyasynchat.mk | 15 ++++++++++++
package/python-pyasyncore/Config.in | 10 ++++++++
.../python-pyasyncore/python-pyasyncore.hash | 5 ++++
.../python-pyasyncore/python-pyasyncore.mk | 14 +++++++++++
12 files changed, 119 insertions(+), 8 deletions(-)
create mode 100644 package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
create mode 100644 package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
create mode 100644 package/python-pyasynchat/Config.in
create mode 100644 package/python-pyasynchat/python-pyasynchat.hash
create mode 100644 package/python-pyasynchat/python-pyasynchat.mk
create mode 100644 package/python-pyasyncore/Config.in
create mode 100644 package/python-pyasyncore/python-pyasyncore.hash
create mode 100644 package/python-pyasyncore/python-pyasyncore.mk
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package
2024-07-09 10:18 [Buildroot] [PATCH v3 0/4] Update fail2ban to 1.1.0, add dependencies Fiona Klute via buildroot
@ 2024-07-09 10:18 ` Fiona Klute via buildroot
2024-07-09 19:42 ` Thomas Petazzoni via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 2/4] package/python-pyasynchat: " Fiona Klute via buildroot
` (2 subsequent siblings)
3 siblings, 1 reply; 12+ messages in thread
From: Fiona Klute via buildroot @ 2024-07-09 10:18 UTC (permalink / raw)
To: buildroot
Cc: James Hilliard, Asaf Kahlon, Angelo Compagnucci, Thomas Petazzoni,
Fiona Klute (WIWA)
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
pyasyncore is a compatibility package that provides the asyncore
module removed from the standard library in Python 3.12. It is needed
to support fail2ban without a bundled copy and should be removed as
soon as nothing in Buildroot depends on it.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
---
package/Config.in | 1 +
package/python-pyasyncore/Config.in | 10 ++++++++++
package/python-pyasyncore/python-pyasyncore.hash | 5 +++++
package/python-pyasyncore/python-pyasyncore.mk | 14 ++++++++++++++
4 files changed, 30 insertions(+)
create mode 100644 package/python-pyasyncore/Config.in
create mode 100644 package/python-pyasyncore/python-pyasyncore.hash
create mode 100644 package/python-pyasyncore/python-pyasyncore.mk
diff --git a/package/Config.in b/package/Config.in
index 48ef1a6fdc..38ebf13dbf 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1253,6 +1253,7 @@ menu "External python modules"
source "package/python-pyalsa/Config.in"
source "package/python-pyasn1/Config.in"
source "package/python-pyasn1-modules/Config.in"
+ source "package/python-pyasyncore/Config.in"
source "package/python-pybind/Config.in"
source "package/python-pycairo/Config.in"
source "package/python-pycares/Config.in"
diff --git a/package/python-pyasyncore/Config.in b/package/python-pyasyncore/Config.in
new file mode 100644
index 0000000000..ad1376a243
--- /dev/null
+++ b/package/python-pyasyncore/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_PYASYNCORE
+ bool "python-pyasyncore"
+ help
+ Make asyncore available for Python 3.12 onwards.
+
+ This is a compatibility package using the code removed from
+ the standard libary, upstream does not intend any
+ maintenance.
+
+ https://github.com/simonrob/pyasyncore
diff --git a/package/python-pyasyncore/python-pyasyncore.hash b/package/python-pyasyncore/python-pyasyncore.hash
new file mode 100644
index 0000000000..ee4665fe5e
--- /dev/null
+++ b/package/python-pyasyncore/python-pyasyncore.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyasyncore/json
+md5 f97e2b69f1fa11470867b395c2fabf84 pyasyncore-1.0.4.tar.gz
+sha256 2c7a8b9b750ba6260f1e5a061456d61320a80579c6a43d42183417da89c7d5d6 pyasyncore-1.0.4.tar.gz
+# Locally computed sha256 checksums
+sha256 f4f80c98161f5632004d44713b5cb95e400145b40cbc0297f1f50c27b54befdb LICENSE
diff --git a/package/python-pyasyncore/python-pyasyncore.mk b/package/python-pyasyncore/python-pyasyncore.mk
new file mode 100644
index 0000000000..9d08d493c4
--- /dev/null
+++ b/package/python-pyasyncore/python-pyasyncore.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyasyncore
+#
+################################################################################
+
+PYTHON_PYASYNCORE_VERSION = 1.0.4
+PYTHON_PYASYNCORE_SOURCE = pyasyncore-$(PYTHON_PYASYNCORE_VERSION).tar.gz
+PYTHON_PYASYNCORE_SITE = https://github.com/simonrob/pyasyncore/releases/download/v$(PYTHON_PYASYNCORE_VERSION)
+PYTHON_PYASYNCORE_SETUP_TYPE = setuptools
+PYTHON_PYASYNCORE_LICENSE = Python Software Foundation License
+PYTHON_PYASYNCORE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH v3 2/4] package/python-pyasynchat: new package
2024-07-09 10:18 [Buildroot] [PATCH v3 0/4] Update fail2ban to 1.1.0, add dependencies Fiona Klute via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package Fiona Klute via buildroot
@ 2024-07-09 10:18 ` Fiona Klute via buildroot
2024-07-09 19:44 ` Thomas Petazzoni via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0 Fiona Klute via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 4/4] package/fail2ban: fix sshd filter with OpenSSH 9.8 Fiona Klute via buildroot
3 siblings, 1 reply; 12+ messages in thread
From: Fiona Klute via buildroot @ 2024-07-09 10:18 UTC (permalink / raw)
To: buildroot
Cc: James Hilliard, Asaf Kahlon, Angelo Compagnucci, Thomas Petazzoni,
Fiona Klute (WIWA)
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
pyasynchat is a compatibility package that provides the asynchat
module removed from the standard library in Python 3.12. It is needed
to support fail2ban without a bundled copy and should be removed as
soon as nothing in Buildroot depends on it.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
---
package/Config.in | 1 +
package/python-pyasynchat/Config.in | 11 +++++++++++
package/python-pyasynchat/python-pyasynchat.hash | 5 +++++
package/python-pyasynchat/python-pyasynchat.mk | 15 +++++++++++++++
4 files changed, 32 insertions(+)
create mode 100644 package/python-pyasynchat/Config.in
create mode 100644 package/python-pyasynchat/python-pyasynchat.hash
create mode 100644 package/python-pyasynchat/python-pyasynchat.mk
diff --git a/package/Config.in b/package/Config.in
index 38ebf13dbf..faf8dd7d7e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1253,6 +1253,7 @@ menu "External python modules"
source "package/python-pyalsa/Config.in"
source "package/python-pyasn1/Config.in"
source "package/python-pyasn1-modules/Config.in"
+ source "package/python-pyasynchat/Config.in"
source "package/python-pyasyncore/Config.in"
source "package/python-pybind/Config.in"
source "package/python-pycairo/Config.in"
diff --git a/package/python-pyasynchat/Config.in b/package/python-pyasynchat/Config.in
new file mode 100644
index 0000000000..bf11cc5b39
--- /dev/null
+++ b/package/python-pyasynchat/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_PYASYNCHAT
+ bool "python-pyasynchat"
+ select BR2_PACKAGE_PYTHON_PYASYNCORE # runtime
+ help
+ Make asynchat available for Python 3.12 onwards.
+
+ This is a compatibility package using the code removed from
+ the standard libary, upstream does not intend any
+ maintenance.
+
+ https://github.com/simonrob/pyasynchat
diff --git a/package/python-pyasynchat/python-pyasynchat.hash b/package/python-pyasynchat/python-pyasynchat.hash
new file mode 100644
index 0000000000..232f936bcc
--- /dev/null
+++ b/package/python-pyasynchat/python-pyasynchat.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyasynchat/json
+md5 9fa7e3822f689b1236ca59c5f1b71415 pyasynchat-1.0.4.tar.gz
+sha256 3f5333df649e46c56d48c57e6a4b7163fd07f626bfd884e22ef373ab3c3a4670 pyasynchat-1.0.4.tar.gz
+# Locally computed sha256 checksums
+sha256 f4f80c98161f5632004d44713b5cb95e400145b40cbc0297f1f50c27b54befdb LICENSE
diff --git a/package/python-pyasynchat/python-pyasynchat.mk b/package/python-pyasynchat/python-pyasynchat.mk
new file mode 100644
index 0000000000..8bd87af5c4
--- /dev/null
+++ b/package/python-pyasynchat/python-pyasynchat.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-pyasynchat
+#
+################################################################################
+
+PYTHON_PYASYNCHAT_VERSION = 1.0.4
+PYTHON_PYASYNCHAT_SOURCE = pyasynchat-$(PYTHON_PYASYNCHAT_VERSION).tar.gz
+PYTHON_PYASYNCHAT_SITE = https://github.com/simonrob/pyasynchat/releases/download/v$(PYTHON_PYASYNCHAT_VERSION)
+PYTHON_PYASYNCHAT_SETUP_TYPE = setuptools
+PYTHON_PYASYNCHAT_LICENSE = Python Software Foundation License
+PYTHON_PYASYNCHAT_LICENSE_FILES = LICENSE
+PYTHON_PYASYNCHAT_DEPENDENCIES = python-pyasyncore
+
+$(eval $(python-package))
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0
2024-07-09 10:18 [Buildroot] [PATCH v3 0/4] Update fail2ban to 1.1.0, add dependencies Fiona Klute via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package Fiona Klute via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 2/4] package/python-pyasynchat: " Fiona Klute via buildroot
@ 2024-07-09 10:18 ` Fiona Klute via buildroot
2024-07-09 19:45 ` Thomas Petazzoni via buildroot
2024-07-12 14:08 ` Arnout Vandecappelle via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 4/4] package/fail2ban: fix sshd filter with OpenSSH 9.8 Fiona Klute via buildroot
3 siblings, 2 replies; 12+ messages in thread
From: Fiona Klute via buildroot @ 2024-07-09 10:18 UTC (permalink / raw)
To: buildroot
Cc: James Hilliard, Asaf Kahlon, Angelo Compagnucci, Thomas Petazzoni,
Fiona Klute (WIWA)
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
Fail2ban 1.1.0 brings Python 3.12 compatibility, and removes support
for 2.x. This means 2to3 handling can be dropped.
Unfortunately fail2ban 1.1.0 still relies on asynchat and asyncore,
which have been removed from the Python standard library in
3.12. Depend on the compatibility package python-pyasynchat (which
pulls in python-pyasyncore) and remove copies bundled in upstream
code.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
---
Changes v2 -> v3:
* Add "# runtime" comment for pyasynchat dependency, drop
FAIL2BAN_DEPENDENCIES in fail2ban.mk
package/fail2ban/Config.in | 1 +
package/fail2ban/fail2ban.hash | 2 +-
package/fail2ban/fail2ban.mk | 14 +++++++-------
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/package/fail2ban/Config.in b/package/fail2ban/Config.in
index 8a48a8c1d0..4c2c56440d 100644
--- a/package/fail2ban/Config.in
+++ b/package/fail2ban/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_FAIL2BAN
bool "fail2ban"
depends on BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON_PYASYNCHAT # runtime
select BR2_PACKAGE_PYTHON_SYSTEMD if BR2_PACKAGE_SYSTEMD
help
Fail2ban scans log files (e.g. /var/log/apache/error_log) and
diff --git a/package/fail2ban/fail2ban.hash b/package/fail2ban/fail2ban.hash
index b40922e70a..8627e01f05 100644
--- a/package/fail2ban/fail2ban.hash
+++ b/package/fail2ban/fail2ban.hash
@@ -1,3 +1,3 @@
# sha256 locally computed
-sha256 ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23 fail2ban-1.0.2.tar.gz
+sha256 474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae fail2ban-1.1.0.tar.gz
sha256 a75fec0260742fe6275d63ff6a5d97b924b28766558306b3fa4069763096929b COPYING
diff --git a/package/fail2ban/fail2ban.mk b/package/fail2ban/fail2ban.mk
index 0c1208c6fe..a77e5fad6c 100644
--- a/package/fail2ban/fail2ban.mk
+++ b/package/fail2ban/fail2ban.mk
@@ -4,7 +4,7 @@
#
################################################################################
-FAIL2BAN_VERSION = 1.0.2
+FAIL2BAN_VERSION = 1.1.0
FAIL2BAN_SITE = $(call github,fail2ban,fail2ban,$(FAIL2BAN_VERSION))
FAIL2BAN_LICENSE = GPL-2.0+
FAIL2BAN_LICENSE_FILES = COPYING
@@ -12,13 +12,13 @@ FAIL2BAN_CPE_ID_VENDOR = fail2ban
FAIL2BAN_SELINUX_MODULES = fail2ban
FAIL2BAN_SETUP_TYPE = setuptools
-define FAIL2BAN_PYTHON_2TO3
- $(HOST_DIR)/bin/2to3 --write --nobackups --no-diffs $(@D)/bin/* $(@D)/fail2ban
+# fail2ban contains bundled copies of pyasyncore and pyasynchat,
+# remove them so only the packaged versions are installed.
+define FAIL2BAN_REMOVE_BUNDLED_COMPAT
+ $(SED) '/fail2ban\.compat/d' $(@D)/setup.py
+ rm -rf $(@D)/fail2ban/compat
endef
-FAIL2BAN_DEPENDENCIES = host-python3
-# We can't use _POST_PATCH_HOOKS because dependencies are not guaranteed
-# to build and install before _POST_PATCH_HOOKS run.
-FAIL2BAN_PRE_CONFIGURE_HOOKS += FAIL2BAN_PYTHON_2TO3
+FAIL2BAN_POST_PATCH_HOOKS += FAIL2BAN_REMOVE_BUNDLED_COMPAT
define FAIL2BAN_FIX_DEFAULT_CONFIG
$(SED) '/^socket/c\socket = /run/fail2ban.sock' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH v3 4/4] package/fail2ban: fix sshd filter with OpenSSH 9.8
2024-07-09 10:18 [Buildroot] [PATCH v3 0/4] Update fail2ban to 1.1.0, add dependencies Fiona Klute via buildroot
` (2 preceding siblings ...)
2024-07-09 10:18 ` [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0 Fiona Klute via buildroot
@ 2024-07-09 10:18 ` Fiona Klute via buildroot
2024-07-12 14:01 ` Arnout Vandecappelle via buildroot
3 siblings, 1 reply; 12+ messages in thread
From: Fiona Klute via buildroot @ 2024-07-09 10:18 UTC (permalink / raw)
To: buildroot
Cc: James Hilliard, Asaf Kahlon, Angelo Compagnucci, Thomas Petazzoni,
Fiona Klute (WIWA)
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
The filter needs to consider the new sshd-session binary, patches
already merged upstream.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
---
Changes v1 -> v2:
* Add this patch to fix the sshd filter with OpenSSH 9.8
...lter-for-openssh-9.8-new-daemon-name.patch | 24 +++++++++++++++++++
...shd.conf-ungroup-unneeded-for-daemon.patch | 24 +++++++++++++++++++
2 files changed, 48 insertions(+)
create mode 100644 package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
create mode 100644 package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
diff --git a/package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch b/package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
new file mode 100644
index 0000000000..026cef9693
--- /dev/null
+++ b/package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
@@ -0,0 +1,24 @@
+From 2fed408c05ac5206b490368d94599869bd6a056d Mon Sep 17 00:00:00 2001
+From: Fabian Dellwing <fabian.dellwing@mbconnectline.de>
+Date: Tue, 2 Jul 2024 07:54:15 +0200
+Subject: [PATCH] Adjust sshd filter for OpenSSH 9.8 new daemon name
+
+Upstream: https://github.com/fail2ban/fail2ban/commit/2fed408c05ac5206b490368d94599869bd6a056d
+Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
+---
+ config/filter.d/sshd.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf
+index 1c8a02deb5..a1fd749aed 100644
+--- a/config/filter.d/sshd.conf
++++ b/config/filter.d/sshd.conf
+@@ -16,7 +16,7 @@ before = common.conf
+
+ [DEFAULT]
+
+-_daemon = sshd
++_daemon = (?:sshd(?:-session)?)
+
+ # optional prefix (logged from several ssh versions) like "error: ", "error: PAM: " or "fatal: "
+ __pref = (?:(?:error|fatal): (?:PAM: )?)?
diff --git a/package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch b/package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
new file mode 100644
index 0000000000..597df667f0
--- /dev/null
+++ b/package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
@@ -0,0 +1,24 @@
+From 50ff131a0fd8f54fdeb14b48353f842ee8ae8c1a Mon Sep 17 00:00:00 2001
+From: "Sergey G. Brester" <serg.brester@sebres.de>
+Date: Wed, 3 Jul 2024 19:35:28 +0200
+Subject: [PATCH] filter.d/sshd.conf: ungroup (unneeded for _daemon)
+
+Upstream: https://github.com/fail2ban/fail2ban/commit/50ff131a0fd8f54fdeb14b48353f842ee8ae8c1a
+Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
+---
+ config/filter.d/sshd.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf
+index a1fd749aed..3a84b1ba52 100644
+--- a/config/filter.d/sshd.conf
++++ b/config/filter.d/sshd.conf
+@@ -16,7 +16,7 @@ before = common.conf
+
+ [DEFAULT]
+
+-_daemon = (?:sshd(?:-session)?)
++_daemon = sshd(?:-session)?
+
+ # optional prefix (logged from several ssh versions) like "error: ", "error: PAM: " or "fatal: "
+ __pref = (?:(?:error|fatal): (?:PAM: )?)?
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package
2024-07-09 10:18 ` [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package Fiona Klute via buildroot
@ 2024-07-09 19:42 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-09 19:42 UTC (permalink / raw)
To: Fiona Klute via buildroot
Cc: Angelo Compagnucci, James Hilliard, Fiona Klute, Asaf Kahlon
Hello Fiona,
On Tue, 9 Jul 2024 12:18:38 +0200
Fiona Klute via buildroot <buildroot@buildroot.org> wrote:
> From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
>
> pyasyncore is a compatibility package that provides the asyncore
> module removed from the standard library in Python 3.12. It is needed
> to support fail2ban without a bundled copy and should be removed as
> soon as nothing in Buildroot depends on it.
>
> Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
I have applied your patch, after some small changes.
> ---
> package/Config.in | 1 +
> package/python-pyasyncore/Config.in | 10 ++++++++++
> package/python-pyasyncore/python-pyasyncore.hash | 5 +++++
> package/python-pyasyncore/python-pyasyncore.mk | 14 ++++++++++++++
> 4 files changed, 30 insertions(+)
I've added an entry for you in the DEVELOPERS file for this new package.
> +PYTHON_PYASYNCORE_VERSION = 1.0.4
> +PYTHON_PYASYNCORE_SOURCE = pyasyncore-$(PYTHON_PYASYNCORE_VERSION).tar.gz
> +PYTHON_PYASYNCORE_SITE = https://github.com/simonrob/pyasyncore/releases/download/v$(PYTHON_PYASYNCORE_VERSION)
> +PYTHON_PYASYNCORE_SETUP_TYPE = setuptools
> +PYTHON_PYASYNCORE_LICENSE = Python Software Foundation License
This is not the correct SPDX license code, it is PSF-2.0.
See https://spdx.org/licenses/ for the list of license codes.
Applied with those changes, thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 2/4] package/python-pyasynchat: new package
2024-07-09 10:18 ` [Buildroot] [PATCH v3 2/4] package/python-pyasynchat: " Fiona Klute via buildroot
@ 2024-07-09 19:44 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-09 19:44 UTC (permalink / raw)
To: Fiona Klute via buildroot
Cc: Angelo Compagnucci, James Hilliard, Fiona Klute, Asaf Kahlon
Hello Fiona,
On Tue, 9 Jul 2024 12:18:39 +0200
Fiona Klute via buildroot <buildroot@buildroot.org> wrote:
> From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
>
> pyasynchat is a compatibility package that provides the asynchat
> module removed from the standard library in Python 3.12. It is needed
> to support fail2ban without a bundled copy and should be removed as
> soon as nothing in Buildroot depends on it.
>
> Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
I've also applied with some changes, see below.
> ---
> package/Config.in | 1 +
> package/python-pyasynchat/Config.in | 11 +++++++++++
> package/python-pyasynchat/python-pyasynchat.hash | 5 +++++
> package/python-pyasynchat/python-pyasynchat.mk | 15 +++++++++++++++
> 4 files changed, 32 insertions(+)
Added an entry in the DEVELOPERS file.
> diff --git a/package/python-pyasynchat/Config.in b/package/python-pyasynchat/Config.in
> new file mode 100644
> index 0000000000..bf11cc5b39
> --- /dev/null
> +++ b/package/python-pyasynchat/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_PYTHON_PYASYNCHAT
> + bool "python-pyasynchat"
> + select BR2_PACKAGE_PYTHON_PYASYNCORE # runtime
So here you declare this as a runtime dependency, which I believe is
correct.
> diff --git a/package/python-pyasynchat/python-pyasynchat.mk b/package/python-pyasynchat/python-pyasynchat.mk
> new file mode 100644
> index 0000000000..8bd87af5c4
> --- /dev/null
> +++ b/package/python-pyasynchat/python-pyasynchat.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# python-pyasynchat
> +#
> +################################################################################
> +
> +PYTHON_PYASYNCHAT_VERSION = 1.0.4
> +PYTHON_PYASYNCHAT_SOURCE = pyasynchat-$(PYTHON_PYASYNCHAT_VERSION).tar.gz
> +PYTHON_PYASYNCHAT_SITE = https://github.com/simonrob/pyasynchat/releases/download/v$(PYTHON_PYASYNCHAT_VERSION)
> +PYTHON_PYASYNCHAT_SETUP_TYPE = setuptools
> +PYTHON_PYASYNCHAT_LICENSE = Python Software Foundation License
Same nit: PSF-2.0 license.
> +PYTHON_PYASYNCHAT_LICENSE_FILES = LICENSE
> +PYTHON_PYASYNCHAT_DEPENDENCIES = python-pyasyncore
And here, you put python-pyasyncore as a build-time dependency, which
is inconsistent with the comment you wrote in the Config.in file. I
assumed it is a runtime dependency, like is the case for the vast
majority of dependencies between Python packages, so I just dropped
this line.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0
2024-07-09 10:18 ` [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0 Fiona Klute via buildroot
@ 2024-07-09 19:45 ` Thomas Petazzoni via buildroot
2024-07-09 19:52 ` Angelo Compagnucci
2024-07-12 14:08 ` Arnout Vandecappelle via buildroot
1 sibling, 1 reply; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-09 19:45 UTC (permalink / raw)
To: Fiona Klute via buildroot
Cc: Angelo Compagnucci, James Hilliard, Fiona Klute, Asaf Kahlon
Hello Fiona,
On Tue, 9 Jul 2024 12:18:40 +0200
Fiona Klute via buildroot <buildroot@buildroot.org> wrote:
> From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
>
> Fail2ban 1.1.0 brings Python 3.12 compatibility, and removes support
> for 2.x. This means 2to3 handling can be dropped.
>
> Unfortunately fail2ban 1.1.0 still relies on asynchat and asyncore,
> which have been removed from the Python standard library in
> 3.12. Depend on the compatibility package python-pyasynchat (which
> pulls in python-pyasyncore) and remove copies bundled in upstream
> code.
>
> Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
> ---
> Changes v2 -> v3:
> * Add "# runtime" comment for pyasynchat dependency, drop
> FAIL2BAN_DEPENDENCIES in fail2ban.mk
Unfortunately, this updated package fails to build for me:
/bin/sed -i -e '/^socket/c\socket = /run/fail2ban.sock' /home/thomas/projets/buildroot/output/target/etc/fail2ban/fail2ban.conf
/bin/sed: can't read /home/thomas/projets/buildroot/output/target/etc/fail2ban/fail2ban.conf: No such file or directory
make: *** [package/pkg-generic.mk:378: /home/thomas/projets/buildroot/output/build/fail2ban-1.1.0/.stamp_target_installed] Error 2
The /etc/fail2ban/fail2ban.conf file is apparently no longer installed.
Did you try the fail2ban build from a fully clean build?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0
2024-07-09 19:45 ` Thomas Petazzoni via buildroot
@ 2024-07-09 19:52 ` Angelo Compagnucci
2024-07-09 20:18 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 12+ messages in thread
From: Angelo Compagnucci @ 2024-07-09 19:52 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: James Hilliard, Fiona Klute, Asaf Kahlon,
Fiona Klute via buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1717 bytes --]
Il mar 9 lug 2024, 21:45 Thomas Petazzoni <thomas.petazzoni@bootlin.com> ha
scritto:
> Hello Fiona,
>
> On Tue, 9 Jul 2024 12:18:40 +0200
> Fiona Klute via buildroot <buildroot@buildroot.org> wrote:
>
> > From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
> >
> > Fail2ban 1.1.0 brings Python 3.12 compatibility, and removes support
> > for 2.x. This means 2to3 handling can be dropped.
> >
> > Unfortunately fail2ban 1.1.0 still relies on asynchat and asyncore,
> > which have been removed from the Python standard library in
> > 3.12. Depend on the compatibility package python-pyasynchat (which
> > pulls in python-pyasyncore) and remove copies bundled in upstream
> > code.
> >
> > Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
> > ---
> > Changes v2 -> v3:
> > * Add "# runtime" comment for pyasynchat dependency, drop
> > FAIL2BAN_DEPENDENCIES in fail2ban.mk
>
> Unfortunately, this updated package fails to build for me:
>
> /bin/sed -i -e '/^socket/c\socket = /run/fail2ban.sock'
> /home/thomas/projets/buildroot/output/target/etc/fail2ban/fail2ban.conf
> /bin/sed: can't read
> /home/thomas/projets/buildroot/output/target/etc/fail2ban/fail2ban.conf: No
> such file or directory
> make: *** [package/pkg-generic.mk:378:
> /home/thomas/projets/buildroot/output/build/fail2ban-1.1.0/.stamp_target_installed]
> Error 2
>
> The /etc/fail2ban/fail2ban.conf file is apparently no longer installed.
> Did you try the fail2ban build from a fully clean build?
>
It doesn't work without applying my previous fixes (for python and
fail2ban).
Fiona documented in the cover letter.
Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 2944 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0
2024-07-09 19:52 ` Angelo Compagnucci
@ 2024-07-09 20:18 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-09 20:18 UTC (permalink / raw)
To: Angelo Compagnucci
Cc: James Hilliard, Fiona Klute, Asaf Kahlon,
Fiona Klute via buildroot
On Tue, 9 Jul 2024 21:52:21 +0200
Angelo Compagnucci <angelo.compagnucci@gmail.com> wrote:
> It doesn't work without applying my previous fixes (for python and
> fail2ban).
> Fiona documented in the cover letter.
Dammit indeed, and Fiona even reminded me of this. I guess I'm trying
to work on too many different topics at the same time. Sorry about that
folks.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 4/4] package/fail2ban: fix sshd filter with OpenSSH 9.8
2024-07-09 10:18 ` [Buildroot] [PATCH v3 4/4] package/fail2ban: fix sshd filter with OpenSSH 9.8 Fiona Klute via buildroot
@ 2024-07-12 14:01 ` Arnout Vandecappelle via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-07-12 14:01 UTC (permalink / raw)
To: Fiona Klute, buildroot
Cc: Thomas Petazzoni, James Hilliard, Angelo Compagnucci, Asaf Kahlon
On 09/07/2024 12:18, Fiona Klute via buildroot wrote:
> From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
>
> The filter needs to consider the new sshd-session binary, patches
> already merged upstream.
>
> Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
This also applies to the old version of fail2ban, so it should have been
before the 1.1.0 bump in the series.
Applied to master, thanks.
Peter, this is for backport to the stable branches.
Regards,
Arnout
> ---
> Changes v1 -> v2:
> * Add this patch to fix the sshd filter with OpenSSH 9.8
>
> ...lter-for-openssh-9.8-new-daemon-name.patch | 24 +++++++++++++++++++
> ...shd.conf-ungroup-unneeded-for-daemon.patch | 24 +++++++++++++++++++
> 2 files changed, 48 insertions(+)
> create mode 100644 package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
> create mode 100644 package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
>
> diff --git a/package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch b/package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
> new file mode 100644
> index 0000000000..026cef9693
> --- /dev/null
> +++ b/package/fail2ban/0002-adjust-sshd-filter-for-openssh-9.8-new-daemon-name.patch
> @@ -0,0 +1,24 @@
> +From 2fed408c05ac5206b490368d94599869bd6a056d Mon Sep 17 00:00:00 2001
> +From: Fabian Dellwing <fabian.dellwing@mbconnectline.de>
> +Date: Tue, 2 Jul 2024 07:54:15 +0200
> +Subject: [PATCH] Adjust sshd filter for OpenSSH 9.8 new daemon name
> +
> +Upstream: https://github.com/fail2ban/fail2ban/commit/2fed408c05ac5206b490368d94599869bd6a056d
> +Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
> +---
> + config/filter.d/sshd.conf | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf
> +index 1c8a02deb5..a1fd749aed 100644
> +--- a/config/filter.d/sshd.conf
> ++++ b/config/filter.d/sshd.conf
> +@@ -16,7 +16,7 @@ before = common.conf
> +
> + [DEFAULT]
> +
> +-_daemon = sshd
> ++_daemon = (?:sshd(?:-session)?)
> +
> + # optional prefix (logged from several ssh versions) like "error: ", "error: PAM: " or "fatal: "
> + __pref = (?:(?:error|fatal): (?:PAM: )?)?
> diff --git a/package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch b/package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
> new file mode 100644
> index 0000000000..597df667f0
> --- /dev/null
> +++ b/package/fail2ban/0003-filter.d-sshd.conf-ungroup-unneeded-for-daemon.patch
> @@ -0,0 +1,24 @@
> +From 50ff131a0fd8f54fdeb14b48353f842ee8ae8c1a Mon Sep 17 00:00:00 2001
> +From: "Sergey G. Brester" <serg.brester@sebres.de>
> +Date: Wed, 3 Jul 2024 19:35:28 +0200
> +Subject: [PATCH] filter.d/sshd.conf: ungroup (unneeded for _daemon)
> +
> +Upstream: https://github.com/fail2ban/fail2ban/commit/50ff131a0fd8f54fdeb14b48353f842ee8ae8c1a
> +Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
> +---
> + config/filter.d/sshd.conf | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf
> +index a1fd749aed..3a84b1ba52 100644
> +--- a/config/filter.d/sshd.conf
> ++++ b/config/filter.d/sshd.conf
> +@@ -16,7 +16,7 @@ before = common.conf
> +
> + [DEFAULT]
> +
> +-_daemon = (?:sshd(?:-session)?)
> ++_daemon = sshd(?:-session)?
> +
> + # optional prefix (logged from several ssh versions) like "error: ", "error: PAM: " or "fatal: "
> + __pref = (?:(?:error|fatal): (?:PAM: )?)?
> --
> 2.45.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0
2024-07-09 10:18 ` [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0 Fiona Klute via buildroot
2024-07-09 19:45 ` Thomas Petazzoni via buildroot
@ 2024-07-12 14:08 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 12+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-07-12 14:08 UTC (permalink / raw)
To: Fiona Klute, buildroot
Cc: Thomas Petazzoni, James Hilliard, Angelo Compagnucci, Asaf Kahlon
On 09/07/2024 12:18, Fiona Klute via buildroot wrote:
> From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
>
> Fail2ban 1.1.0 brings Python 3.12 compatibility, and removes support
> for 2.x. This means 2to3 handling can be dropped.
>
> Unfortunately fail2ban 1.1.0 still relies on asynchat and asyncore,
> which have been removed from the Python standard library in
> 3.12. Depend on the compatibility package python-pyasynchat (which
> pulls in python-pyasyncore) and remove copies bundled in upstream
> code.
>
> Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Applied to master, thanks.
Regards,
Arnout
> ---
> Changes v2 -> v3:
> * Add "# runtime" comment for pyasynchat dependency, drop
> FAIL2BAN_DEPENDENCIES in fail2ban.mk
>
> package/fail2ban/Config.in | 1 +
> package/fail2ban/fail2ban.hash | 2 +-
> package/fail2ban/fail2ban.mk | 14 +++++++-------
> 3 files changed, 9 insertions(+), 8 deletions(-)
>
> diff --git a/package/fail2ban/Config.in b/package/fail2ban/Config.in
> index 8a48a8c1d0..4c2c56440d 100644
> --- a/package/fail2ban/Config.in
> +++ b/package/fail2ban/Config.in
> @@ -1,6 +1,7 @@
> config BR2_PACKAGE_FAIL2BAN
> bool "fail2ban"
> depends on BR2_PACKAGE_PYTHON3
> + select BR2_PACKAGE_PYTHON_PYASYNCHAT # runtime
> select BR2_PACKAGE_PYTHON_SYSTEMD if BR2_PACKAGE_SYSTEMD
> help
> Fail2ban scans log files (e.g. /var/log/apache/error_log) and
> diff --git a/package/fail2ban/fail2ban.hash b/package/fail2ban/fail2ban.hash
> index b40922e70a..8627e01f05 100644
> --- a/package/fail2ban/fail2ban.hash
> +++ b/package/fail2ban/fail2ban.hash
> @@ -1,3 +1,3 @@
> # sha256 locally computed
> -sha256 ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23 fail2ban-1.0.2.tar.gz
> +sha256 474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae fail2ban-1.1.0.tar.gz
> sha256 a75fec0260742fe6275d63ff6a5d97b924b28766558306b3fa4069763096929b COPYING
> diff --git a/package/fail2ban/fail2ban.mk b/package/fail2ban/fail2ban.mk
> index 0c1208c6fe..a77e5fad6c 100644
> --- a/package/fail2ban/fail2ban.mk
> +++ b/package/fail2ban/fail2ban.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -FAIL2BAN_VERSION = 1.0.2
> +FAIL2BAN_VERSION = 1.1.0
> FAIL2BAN_SITE = $(call github,fail2ban,fail2ban,$(FAIL2BAN_VERSION))
> FAIL2BAN_LICENSE = GPL-2.0+
> FAIL2BAN_LICENSE_FILES = COPYING
> @@ -12,13 +12,13 @@ FAIL2BAN_CPE_ID_VENDOR = fail2ban
> FAIL2BAN_SELINUX_MODULES = fail2ban
> FAIL2BAN_SETUP_TYPE = setuptools
>
> -define FAIL2BAN_PYTHON_2TO3
> - $(HOST_DIR)/bin/2to3 --write --nobackups --no-diffs $(@D)/bin/* $(@D)/fail2ban
> +# fail2ban contains bundled copies of pyasyncore and pyasynchat,
> +# remove them so only the packaged versions are installed.
> +define FAIL2BAN_REMOVE_BUNDLED_COMPAT
> + $(SED) '/fail2ban\.compat/d' $(@D)/setup.py
> + rm -rf $(@D)/fail2ban/compat
> endef
> -FAIL2BAN_DEPENDENCIES = host-python3
> -# We can't use _POST_PATCH_HOOKS because dependencies are not guaranteed
> -# to build and install before _POST_PATCH_HOOKS run.
> -FAIL2BAN_PRE_CONFIGURE_HOOKS += FAIL2BAN_PYTHON_2TO3
> +FAIL2BAN_POST_PATCH_HOOKS += FAIL2BAN_REMOVE_BUNDLED_COMPAT
>
> define FAIL2BAN_FIX_DEFAULT_CONFIG
> $(SED) '/^socket/c\socket = /run/fail2ban.sock' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf
> --
> 2.45.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-07-12 14:08 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 10:18 [Buildroot] [PATCH v3 0/4] Update fail2ban to 1.1.0, add dependencies Fiona Klute via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 1/4] package/python-pyasyncore: new package Fiona Klute via buildroot
2024-07-09 19:42 ` Thomas Petazzoni via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 2/4] package/python-pyasynchat: " Fiona Klute via buildroot
2024-07-09 19:44 ` Thomas Petazzoni via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 3/4] package/fail2ban: bump version to 1.1.0 Fiona Klute via buildroot
2024-07-09 19:45 ` Thomas Petazzoni via buildroot
2024-07-09 19:52 ` Angelo Compagnucci
2024-07-09 20:18 ` Thomas Petazzoni via buildroot
2024-07-12 14:08 ` Arnout Vandecappelle via buildroot
2024-07-09 10:18 ` [Buildroot] [PATCH v3 4/4] package/fail2ban: fix sshd filter with OpenSSH 9.8 Fiona Klute via buildroot
2024-07-12 14:01 ` Arnout Vandecappelle via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox