Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] fail2ban: add man pages
@ 2024-01-20  9:01 AnInternetTroll
  2024-01-20 15:41 ` dkwo
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-01-20  9:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

There is a new pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1184 bytes --]

From d154622dd1771f5699984a97e68f64d49b927dec Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0..ccf8db23efa60 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,7 +1,7 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
 depends="python3-pyasynchat"
@@ -18,6 +18,7 @@ conf_files="
  /etc/fail2ban/action.d/*.conf
  /etc/fail2ban/filter.d/*.conf"
 make_dirs="/var/lib/fail2ban 0700 root root"
+make_check="no"
 
 pre_build() {
 	./fail2ban-2to3
@@ -26,4 +27,11 @@ pre_build() {
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
@ 2024-01-20 15:41 ` dkwo
  2024-01-20 21:44 ` [PR PATCH] [Updated] " AnInternetTroll
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dkwo @ 2024-01-20 15:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-1902139419

Comment:
This badly needs a release upstream, but for now this passes tests for me (mostly taken from Fedora). cc @ahesford 

```
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,6 +24,16 @@ pre_build() {
        ./fail2ban-2to3
 }
 
+do_check() {
+       # this test uses smtpd which is removed in Python 3.12
+       # https://github.com/fail2ban/fail2ban/issues/3487
+       rm -f fail2ban/tests/action_d/test_smtp.py
+
+       # testRepairDb does not work with sqlite 3.42.0+
+       # https://github.com/fail2ban/fail2ban/issues/3586
+       python3 bin/fail2ban-testcases -i testRepairDb
+}
+
 post_install() {
        rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
        vsv fail2ban
```

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
  2024-01-20 15:41 ` dkwo
@ 2024-01-20 21:44 ` AnInternetTroll
  2024-01-20 21:46 ` AnInternetTroll
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-01-20 21:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 2436 bytes --]

From 994576833db5bd9a0d70bf24e7c36e6c5b9e6583 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/docker-compose/template |  4 ++--
 srcpkgs/fail2ban/template       | 22 ++++++++++++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index e297fbc77ce23..9a4503baf258b 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,6 +1,6 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
-version=2.21.0
+version=2.22.0
 revision=1
 build_style=go
 go_import_path="github.com/docker/compose/v2"
@@ -13,7 +13,7 @@ license="Apache-2.0"
 homepage="https://docs.docker.com/compose/"
 changelog="https://github.com/docker/compose/releases"
 distfiles="https://github.com/docker/compose/archive/refs/tags/v${version}.tar.gz"
-checksum=0014b23382a50c90f91849e491500568366052882e22011822ca2d8a3b2976f2
+checksum=82bd4622729cff061b3489bad96b54849a7f4b462345aade1bd374c879db9019
 
 post_install() {
 	vmkdir usr/libexec/docker/cli-plugins
diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0..6741444994041 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,24 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	python3 bin/fail2ban-testcases -i testRepairDb
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
  2024-01-20 15:41 ` dkwo
  2024-01-20 21:44 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-01-20 21:46 ` AnInternetTroll
  2024-01-26 19:08 ` [PR PATCH] [Updated] " AnInternetTroll
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-01-20 21:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New comment by AnInternetTroll on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-1902272525

Comment:
Thanks for taking a look at this :D
I've applied your suggestion and it builds locally for me as expected!


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (2 preceding siblings ...)
  2024-01-20 21:46 ` AnInternetTroll
@ 2024-01-26 19:08 ` AnInternetTroll
  2024-02-07 21:20 ` AnInternetTroll
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-01-26 19:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 2436 bytes --]

From e9d0b79f19f6ccf675752d6f6ecddbea5dda2dad Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/docker-compose/template |  4 ++--
 srcpkgs/fail2ban/template       | 22 ++++++++++++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index e297fbc77ce23..9a4503baf258b 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,6 +1,6 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
-version=2.21.0
+version=2.22.0
 revision=1
 build_style=go
 go_import_path="github.com/docker/compose/v2"
@@ -13,7 +13,7 @@ license="Apache-2.0"
 homepage="https://docs.docker.com/compose/"
 changelog="https://github.com/docker/compose/releases"
 distfiles="https://github.com/docker/compose/archive/refs/tags/v${version}.tar.gz"
-checksum=0014b23382a50c90f91849e491500568366052882e22011822ca2d8a3b2976f2
+checksum=82bd4622729cff061b3489bad96b54849a7f4b462345aade1bd374c879db9019
 
 post_install() {
 	vmkdir usr/libexec/docker/cli-plugins
diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0..6741444994041 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,24 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	python3 bin/fail2ban-testcases -i testRepairDb
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (3 preceding siblings ...)
  2024-01-26 19:08 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-02-07 21:20 ` AnInternetTroll
  2024-03-21 19:03 ` AnInternetTroll
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-02-07 21:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1570 bytes --]

From f9c3686618109a744671dea4f29aa5b9312db734 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0..6741444994041 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,24 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	python3 bin/fail2ban-testcases -i testRepairDb
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (4 preceding siblings ...)
  2024-02-07 21:20 ` AnInternetTroll
@ 2024-03-21 19:03 ` AnInternetTroll
  2024-03-21 19:19 ` AnInternetTroll
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-03-21 19:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1572 bytes --]

From ab56ae87d7ef481aed2636af52bfd2ea7ce2ea7c Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..67414449940415 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,24 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	python3 bin/fail2ban-testcases -i testRepairDb
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (5 preceding siblings ...)
  2024-03-21 19:03 ` AnInternetTroll
@ 2024-03-21 19:19 ` AnInternetTroll
  2024-03-21 21:13 ` AnInternetTroll
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-03-21 19:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1629 bytes --]

From 5a3d4681afa0a75ac82fd43c8a000ba2fd539f43 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..ca6d4747fee24a 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,24 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	python3 bin/fail2ban-testcases -i "testRepairDb|testExecuteTimeoutWithNastyChildren|testKillAfterStart"
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (6 preceding siblings ...)
  2024-03-21 19:19 ` AnInternetTroll
@ 2024-03-21 21:13 ` AnInternetTroll
  2024-05-31 19:00 ` [PR REVIEW] " classabbyamp
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-03-21 21:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1704 bytes --]

From ae6df7d8ca25e7235800d832652d8593eef11305 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..3b02d78e5b7e0b 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,25 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	python3 bin/fail2ban-testcases -i "testRepairDb|testExecuteTimeoutWithNastyChildren|testKillAfterStart"
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR REVIEW] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (7 preceding siblings ...)
  2024-03-21 21:13 ` AnInternetTroll
@ 2024-05-31 19:00 ` classabbyamp
  2024-05-31 19:37 ` [PR PATCH] [Updated] " AnInternetTroll
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: classabbyamp @ 2024-05-31 19:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#discussion_r1622846327

Comment:
```suggestion
	for f in man/*; do
		vman "$f"
	fi
```

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (8 preceding siblings ...)
  2024-05-31 19:00 ` [PR REVIEW] " classabbyamp
@ 2024-05-31 19:37 ` AnInternetTroll
  2024-05-31 21:45 ` AnInternetTroll
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-05-31 19:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1704 bytes --]

From 3eda5079b5417e9c4e932f89ea5a407424b4e36f Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..3b02d78e5b7e0b 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,25 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	python3 bin/fail2ban-testcases -i "testRepairDb|testExecuteTimeoutWithNastyChildren|testKillAfterStart"
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	vman man/fail2ban-client.1
+	vman man/fail2ban-python.1
+	vman man/fail2ban-regex.1
+	vman man/fail2ban-server.1
+	vman man/fail2ban-testcases.1
+	vman man/fail2ban.1
+	vman man/jail.conf.5
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (9 preceding siblings ...)
  2024-05-31 19:37 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-05-31 21:45 ` AnInternetTroll
  2024-05-31 21:58 ` AnInternetTroll
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-05-31 21:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1549 bytes --]

From 9ba3957cd8da13a279822a9756293aa7ce4449bf Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: add man pages

---
 srcpkgs/fail2ban/template | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..cf1bb75dd7be0a 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,10 +1,11 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
 version=1.0.2
-revision=3
+revision=4
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
@@ -23,7 +24,21 @@ pre_build() {
 	./fail2ban-2to3
 }
 
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	python3 bin/fail2ban-testcases -i "testRepairDb|testExecuteTimeoutWithNastyChildren|testKillAfterStart"
+}
+
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	for f in man/*; do
+		vman "$f"
+	done
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (10 preceding siblings ...)
  2024-05-31 21:45 ` AnInternetTroll
@ 2024-05-31 21:58 ` AnInternetTroll
  2024-05-31 22:00 ` AnInternetTroll
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-05-31 21:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

fail2ban: add man pages
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 2122 bytes --]

From 85ff366ac117bc66943a28f6f5aec1d323577e88 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: update to 1.1.0.

---
 srcpkgs/fail2ban/template | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..8fcf01a0bdf5c2 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,17 +1,18 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
-version=1.0.2
-revision=3
+version=1.1.0
+revision=1
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.fail2ban.org/"
 changelog="https://raw.githubusercontent.com/fail2ban/fail2ban/master/ChangeLog"
 distfiles="https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"
-checksum=ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23
+checksum=474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae
 conf_files="
  /etc/fail2ban/fail2ban.conf
  /etc/fail2ban/jail.conf
@@ -19,11 +20,22 @@ conf_files="
  /etc/fail2ban/filter.d/*.conf"
 make_dirs="/var/lib/fail2ban 0700 root root"
 
-pre_build() {
-	./fail2ban-2to3
+do_check() {
+	# this test uses smtpd which is removed in Python 3.12
+	# https://github.com/fail2ban/fail2ban/issues/3487
+	# rm -f fail2ban/tests/action_d/test_smtp.py
+
+	# testRepairDb does not work with sqlite 3.42.0+
+	# https://github.com/fail2ban/fail2ban/issues/3586
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	# python3 bin/fail2ban-testcases -i "testRepairDb|testExecuteTimeoutWithNastyChildren|testKillAfterStart"
+	python3 bin/fail2ban-testcases
 }
 
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	for f in man/*.{1,5}; do
+		vman "$f"
+	done
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: fail2ban: add man pages
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (11 preceding siblings ...)
  2024-05-31 21:58 ` AnInternetTroll
@ 2024-05-31 22:00 ` AnInternetTroll
  2024-05-31 22:03 ` [PR PATCH] [Updated] [WIP] fail2ban: update to 1.1.0 AnInternetTroll
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-05-31 22:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

New comment by AnInternetTroll on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-2143033333

Comment:
Thanks @classabbyamp!. I've added the change but tests started to fail.
At a first look it seems like a package bump might fix it. I'll
investigate this further, but for the moment I'm marking this PR as a
WIP.


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (12 preceding siblings ...)
  2024-05-31 22:00 ` AnInternetTroll
@ 2024-05-31 22:03 ` AnInternetTroll
  2024-07-15 11:16 ` AnInternetTroll
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-05-31 22:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

[WIP] fail2ban: update to 1.1.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 1804 bytes --]

From 12e0db0a574c2331f1796316c4ce0ff0208b4e15 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: update to 1.1.0.

---
 srcpkgs/fail2ban/template | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..7c0e3cd3dd70cb 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,17 +1,18 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
-version=1.0.2
-revision=3
+version=1.1.0
+revision=1
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.fail2ban.org/"
 changelog="https://raw.githubusercontent.com/fail2ban/fail2ban/master/ChangeLog"
 distfiles="https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"
-checksum=ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23
+checksum=474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae
 conf_files="
  /etc/fail2ban/fail2ban.conf
  /etc/fail2ban/jail.conf
@@ -19,11 +20,15 @@ conf_files="
  /etc/fail2ban/filter.d/*.conf"
 make_dirs="/var/lib/fail2ban 0700 root root"
 
-pre_build() {
-	./fail2ban-2to3
+do_check() {
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	python3 bin/fail2ban-testcases -i "testExecuteTimeoutWithNastyChildren|testKillAfterStart"
 }
 
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	for f in man/*.{1,5}; do
+		vman "$f"
+	done
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (13 preceding siblings ...)
  2024-05-31 22:03 ` [PR PATCH] [Updated] [WIP] fail2ban: update to 1.1.0 AnInternetTroll
@ 2024-07-15 11:16 ` AnInternetTroll
  2024-07-20 11:01 ` leahneukirchen
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-07-15 11:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by AnInternetTroll on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-2228258706

Comment:
I would appreciate some testing here, as I lack the knowledge to do it myself

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (14 preceding siblings ...)
  2024-07-15 11:16 ` AnInternetTroll
@ 2024-07-20 11:01 ` leahneukirchen
  2024-07-20 11:21 ` [PR PATCH] [Updated] " AnInternetTroll
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2024-07-20 11:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-2241087336

Comment:
Please also backport https://github.com/fail2ban/fail2ban/pull/3782

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (15 preceding siblings ...)
  2024-07-20 11:01 ` leahneukirchen
@ 2024-07-20 11:21 ` AnInternetTroll
  2024-09-26 18:31 ` classabbyamp
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-07-20 11:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

[WIP] fail2ban: update to 1.1.0.
#### Testing the changes
- I tested the changes in this PR: **NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 5938 bytes --]

From 71af9820a588a8bf992fbe9358ea5a146ed8c0a3 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: update to 1.1.0.

---
 .../fail2ban/patches/filter-sshd-9.8.patch    | 93 +++++++++++++++++++
 srcpkgs/fail2ban/template                     | 17 ++--
 2 files changed, 104 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/fail2ban/patches/filter-sshd-9.8.patch

diff --git a/srcpkgs/fail2ban/patches/filter-sshd-9.8.patch b/srcpkgs/fail2ban/patches/filter-sshd-9.8.patch
new file mode 100644
index 00000000000000..2864c01e6b0636
--- /dev/null
+++ b/srcpkgs/fail2ban/patches/filter-sshd-9.8.patch
@@ -0,0 +1,93 @@
+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 1/5] Adjust sshd filter for OpenSSH 9.8 new daemon name
+
+---
+ 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: )?)?
+
+From 7b335f47ea112e2a36e59287582e613aef2fa0a3 Mon Sep 17 00:00:00 2001
+From: "Sergey G. Brester" <serg.brester@sebres.de>
+Date: Wed, 3 Jul 2024 19:09:28 +0200
+Subject: [PATCH 2/5] sshd: add test coverage for new format, gh-3782
+
+---
+ fail2ban/tests/files/logs/sshd | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/fail2ban/tests/files/logs/sshd b/fail2ban/tests/files/logs/sshd
+index ed54ded4d4..7d3948ed80 100644
+--- a/fail2ban/tests/files/logs/sshd
++++ b/fail2ban/tests/files/logs/sshd
+@@ -20,6 +20,9 @@ Feb 25 14:34:10 belka sshd[31603]: Failed password for invalid user ROOT from aa
+ # failJSON: { "time": "2005-02-25T14:34:11", "match": true , "host": "aaaa:bbbb:cccc:1234::1:1" }
+ Feb 25 14:34:11 belka sshd[31603]: Failed password for invalid user ROOT from aaaa:bbbb:cccc:1234::1:1
+ 
++# failJSON: { "time": "2005-07-03T14:59:17", "match": true , "host": "192.0.2.1", "desc": "new log with session in daemon prefix, gh-3782" }
++Jul  3 14:59:17 host sshd-session[1571]: Failed password for root from 192.0.2.1 port 56502 ssh2
++
+ #3
+ # failJSON: { "time": "2005-01-05T01:31:41", "match": true , "host": "1.2.3.4" }
+ Jan  5 01:31:41 www sshd[1643]: ROOT LOGIN REFUSED FROM 1.2.3.4
+
+From 8360776ce1b119d519a842069c73bec7f5e24fad Mon Sep 17 00:00:00 2001
+From: "Sergey G. Brester" <serg.brester@sebres.de>
+Date: Wed, 3 Jul 2024 19:33:39 +0200
+Subject: [PATCH 3/5] zzz-sshd-obsolete-multiline.conf: adjusted to new
+ sshd-session log format
+
+---
+ fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf b/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf
+index ad8adeb69f..14256ba68c 100644
+--- a/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf
++++ b/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf
+@@ -9,7 +9,7 @@ before = ../../../../config/filter.d/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: )?)?
+
+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 4/5] filter.d/sshd.conf: ungroup (unneeded for _daemon)
+
+---
+ 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: )?)?
diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index d0842770dc1f0a..7c0e3cd3dd70cb 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,17 +1,18 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
-version=1.0.2
-revision=3
+version=1.1.0
+revision=1
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.fail2ban.org/"
 changelog="https://raw.githubusercontent.com/fail2ban/fail2ban/master/ChangeLog"
 distfiles="https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"
-checksum=ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23
+checksum=474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae
 conf_files="
  /etc/fail2ban/fail2ban.conf
  /etc/fail2ban/jail.conf
@@ -19,11 +20,15 @@ conf_files="
  /etc/fail2ban/filter.d/*.conf"
 make_dirs="/var/lib/fail2ban 0700 root root"
 
-pre_build() {
-	./fail2ban-2to3
+do_check() {
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	python3 bin/fail2ban-testcases -i "testExecuteTimeoutWithNastyChildren|testKillAfterStart"
 }
 
 post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	for f in man/*.{1,5}; do
+		vman "$f"
+	done
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (16 preceding siblings ...)
  2024-07-20 11:21 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-09-26 18:31 ` classabbyamp
  2024-09-26 18:43 ` [PR PATCH] [Updated] " AnInternetTroll
  2024-09-26 18:44 ` AnInternetTroll
  19 siblings, 0 replies; 21+ messages in thread
From: classabbyamp @ 2024-09-26 18:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-2377656685

Comment:
is this still WIP? please rebase

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (17 preceding siblings ...)
  2024-09-26 18:31 ` classabbyamp
@ 2024-09-26 18:43 ` AnInternetTroll
  2024-09-26 18:44 ` AnInternetTroll
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-09-26 18:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/fail2ban-man
https://github.com/void-linux/void-packages/pull/48297

[WIP] fail2ban: update to 1.1.0.
#### Testing the changes
- I tested the changes in this PR: **NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/48297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/fail2ban-man-48297.patch --]
[-- Type: text/x-diff, Size: 5961 bytes --]

From 0ad5b0f18677e43dc239c1c44c7385d42c369ffd Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Jan 2024 10:00:13 +0100
Subject: [PATCH] fail2ban: update to 1.1.0.

---
 .../fail2ban/patches/filter-sshd-9.8.patch    | 93 +++++++++++++++++++
 srcpkgs/fail2ban/template                     | 17 ++--
 2 files changed, 104 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/fail2ban/patches/filter-sshd-9.8.patch

diff --git a/srcpkgs/fail2ban/patches/filter-sshd-9.8.patch b/srcpkgs/fail2ban/patches/filter-sshd-9.8.patch
new file mode 100644
index 00000000000000..2864c01e6b0636
--- /dev/null
+++ b/srcpkgs/fail2ban/patches/filter-sshd-9.8.patch
@@ -0,0 +1,93 @@
+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 1/5] Adjust sshd filter for OpenSSH 9.8 new daemon name
+
+---
+ 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: )?)?
+
+From 7b335f47ea112e2a36e59287582e613aef2fa0a3 Mon Sep 17 00:00:00 2001
+From: "Sergey G. Brester" <serg.brester@sebres.de>
+Date: Wed, 3 Jul 2024 19:09:28 +0200
+Subject: [PATCH 2/5] sshd: add test coverage for new format, gh-3782
+
+---
+ fail2ban/tests/files/logs/sshd | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/fail2ban/tests/files/logs/sshd b/fail2ban/tests/files/logs/sshd
+index ed54ded4d4..7d3948ed80 100644
+--- a/fail2ban/tests/files/logs/sshd
++++ b/fail2ban/tests/files/logs/sshd
+@@ -20,6 +20,9 @@ Feb 25 14:34:10 belka sshd[31603]: Failed password for invalid user ROOT from aa
+ # failJSON: { "time": "2005-02-25T14:34:11", "match": true , "host": "aaaa:bbbb:cccc:1234::1:1" }
+ Feb 25 14:34:11 belka sshd[31603]: Failed password for invalid user ROOT from aaaa:bbbb:cccc:1234::1:1
+ 
++# failJSON: { "time": "2005-07-03T14:59:17", "match": true , "host": "192.0.2.1", "desc": "new log with session in daemon prefix, gh-3782" }
++Jul  3 14:59:17 host sshd-session[1571]: Failed password for root from 192.0.2.1 port 56502 ssh2
++
+ #3
+ # failJSON: { "time": "2005-01-05T01:31:41", "match": true , "host": "1.2.3.4" }
+ Jan  5 01:31:41 www sshd[1643]: ROOT LOGIN REFUSED FROM 1.2.3.4
+
+From 8360776ce1b119d519a842069c73bec7f5e24fad Mon Sep 17 00:00:00 2001
+From: "Sergey G. Brester" <serg.brester@sebres.de>
+Date: Wed, 3 Jul 2024 19:33:39 +0200
+Subject: [PATCH 3/5] zzz-sshd-obsolete-multiline.conf: adjusted to new
+ sshd-session log format
+
+---
+ fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf b/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf
+index ad8adeb69f..14256ba68c 100644
+--- a/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf
++++ b/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf
+@@ -9,7 +9,7 @@ before = ../../../../config/filter.d/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: )?)?
+
+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 4/5] filter.d/sshd.conf: ungroup (unneeded for _daemon)
+
+---
+ 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: )?)?
diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template
index 578193b73a8519..99d9d0fc289f7f 100644
--- a/srcpkgs/fail2ban/template
+++ b/srcpkgs/fail2ban/template
@@ -1,17 +1,18 @@
 # Template file for 'fail2ban'
 pkgname=fail2ban
-version=1.0.2
-revision=4
+version=1.1.0
+revision=1
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
-depends="python3-pyasynchat"
+depends="python3-pyasynchat python3-pyasyncore"
+checkdepends="python3-utils ${depends}"
 short_desc="Authentication failure monitor system"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.fail2ban.org/"
 changelog="https://raw.githubusercontent.com/fail2ban/fail2ban/master/ChangeLog"
 distfiles="https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"
-checksum=ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23
+checksum=474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae
 conf_files="
  /etc/fail2ban/fail2ban.conf
  /etc/fail2ban/jail.conf
@@ -19,12 +20,16 @@ conf_files="
  /etc/fail2ban/filter.d/*.conf"
 make_dirs="/var/lib/fail2ban 0700 root root"
 
-pre_build() {
-	./fail2ban-2to3
+do_check() {
+	# testExecuteTimeoutWithNastyChildren and testKillAfterStart fail on CI
+	python3 bin/fail2ban-testcases -i "testExecuteTimeoutWithNastyChildren|testKillAfterStart"
 }
 
 post_install() {
 	vman man/jail.conf.5
 	rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
 	vsv fail2ban
+	for f in man/*.{1,5}; do
+		vman "$f"
+	done
 }

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [WIP] fail2ban: update to 1.1.0.
  2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
                   ` (18 preceding siblings ...)
  2024-09-26 18:43 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-09-26 18:44 ` AnInternetTroll
  19 siblings, 0 replies; 21+ messages in thread
From: AnInternetTroll @ 2024-09-26 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

New comment by AnInternetTroll on void-packages repository

https://github.com/void-linux/void-packages/pull/48297#issuecomment-2377679406

Comment:
The only issue with this PR is that it is not tested (outside of the original man page change)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-09-26 18:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-20  9:01 [PR PATCH] fail2ban: add man pages AnInternetTroll
2024-01-20 15:41 ` dkwo
2024-01-20 21:44 ` [PR PATCH] [Updated] " AnInternetTroll
2024-01-20 21:46 ` AnInternetTroll
2024-01-26 19:08 ` [PR PATCH] [Updated] " AnInternetTroll
2024-02-07 21:20 ` AnInternetTroll
2024-03-21 19:03 ` AnInternetTroll
2024-03-21 19:19 ` AnInternetTroll
2024-03-21 21:13 ` AnInternetTroll
2024-05-31 19:00 ` [PR REVIEW] " classabbyamp
2024-05-31 19:37 ` [PR PATCH] [Updated] " AnInternetTroll
2024-05-31 21:45 ` AnInternetTroll
2024-05-31 21:58 ` AnInternetTroll
2024-05-31 22:00 ` AnInternetTroll
2024-05-31 22:03 ` [PR PATCH] [Updated] [WIP] fail2ban: update to 1.1.0 AnInternetTroll
2024-07-15 11:16 ` AnInternetTroll
2024-07-20 11:01 ` leahneukirchen
2024-07-20 11:21 ` [PR PATCH] [Updated] " AnInternetTroll
2024-09-26 18:31 ` classabbyamp
2024-09-26 18:43 ` [PR PATCH] [Updated] " AnInternetTroll
2024-09-26 18:44 ` AnInternetTroll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).