Github messages for voidlinux
 help / color / mirror / Atom feed
From: AnInternetTroll <AnInternetTroll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] fail2ban: add man pages
Date: Thu, 21 Mar 2024 22:13:18 +0100	[thread overview]
Message-ID: <20240321211318.165E12026D@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48297@inbox.vuxu.org>

[-- 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
 }

  parent reply	other threads:[~2024-03-21 21:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20  9:01 [PR PATCH] " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240321211318.165E12026D@inbox.vuxu.org \
    --to=aninternettroll@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).