git: 3db5d4a55e81 - main - security/sshguard: Update version 2.4.3=>2.5.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 27 Apr 2025 09:54:00 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3db5d4a55e81817c2348ba32c5b8cf3bf1cf2041

commit 3db5d4a55e81817c2348ba32c5b8cf3bf1cf2041
Author:     Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-04-26 21:04:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-04-27 09:48:22 +0000

    security/sshguard: Update version 2.4.3=>2.5.0
    
    - While I am here pet portclippy
    - Cleanup GNU_CONFIGURE_MANPREFIX
    
    Changelog: https://bitbucket.org/sshguard/sshguard/src/master/CHANGELOG.rst
    
    PR: 286371
    Approved by:    kevinz5000@gmail.com (maintainer)
    
    security/sshguard:
---
 security/sshguard/Makefile                                 |  7 +++----
 security/sshguard/distinfo                                 |  6 +++---
 security/sshguard/files/patch-configure.ac                 | 11 -----------
 security/sshguard/files/patch-src_parser_attack__scanner.l | 11 -----------
 4 files changed, 6 insertions(+), 29 deletions(-)

diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile
index 0ca2bd45179a..9d5e88e395bd 100644
--- a/security/sshguard/Makefile
+++ b/security/sshguard/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sshguard
-PORTVERSION=	2.4.3
-PORTREVISION=	3
+PORTVERSION=	2.5.0
+PORTREVISION=	0
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/sshguard/sshguard/${PORTVERSION}
@@ -12,11 +12,10 @@ WWW=		https://www.sshguard.net/
 LICENSE=	BSD2CLAUSE
 
 USES=		autoreconf
-
 USE_RC_SUBR=	sshguard
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
 SUB_FILES=	pkg-message
 
 post-patch:
diff --git a/security/sshguard/distinfo b/security/sshguard/distinfo
index f0d1d8cc34ad..748dadeed040 100644
--- a/security/sshguard/distinfo
+++ b/security/sshguard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698823793
-SHA256 (sshguard-2.4.3.tar.gz) = 64029deff6de90fdeefb1f497d414f0e4045076693a91da1a70eb7595e97efeb
-SIZE (sshguard-2.4.3.tar.gz) = 1118756
+TIMESTAMP = 1745699776
+SHA256 (sshguard-2.5.0.tar.gz) = 0dbbae38ff5045530bb4e2e388155d2d8ef6b20e443f74f91dc329b7b70f3e9f
+SIZE (sshguard-2.5.0.tar.gz) = 759154
diff --git a/security/sshguard/files/patch-configure.ac b/security/sshguard/files/patch-configure.ac
deleted file mode 100644
index 5ca3f46d889b..000000000000
--- a/security/sshguard/files/patch-configure.ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac.orig	2023-06-28 19:03:42 UTC
-+++ configure.ac
-@@ -21,7 +21,7 @@ AM_PROG_LEX
- AS_BOX([Headers, Types, and Compiler Checks])
- AC_CHECK_HEADERS([getopt.h])
- 
--AC_CHECK_HEADERS([capsicum_helpers.h libcasper.h], capsicum_found=candidate)
-+AC_CHECK_HEADERS([casper/cap_net.h], capsicum_found=candidate)
- AS_IF([test "$capsicum_found" == "candidate"],
-       [AC_SEARCH_LIBS([cap_init], [casper], [capsicum_found=yes])]
-       [AC_SEARCH_LIBS([cap_getaddrinfo], [cap_net], [capsicum_found=yes])])
diff --git a/security/sshguard/files/patch-src_parser_attack__scanner.l b/security/sshguard/files/patch-src_parser_attack__scanner.l
deleted file mode 100644
index b8e1abb51e74..000000000000
--- a/security/sshguard/files/patch-src_parser_attack__scanner.l
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/parser/attack_scanner.l.orig	2021-03-01 01:01:21 UTC
-+++ src/parser/attack_scanner.l
-@@ -247,7 +247,7 @@ HTTP_LOGIN_200OK_BAD       .*({WORDPRESS_LOGIN}|{TYPO3
- 
-  /* cyrus-imap login error */
- "badlogin: "[^\[]*"["                                           { BEGIN(cyrusimap_loginerr); return CYRUSIMAP_SASL_LOGINERR_PREF; }
--<cyrusimap_loginerr>"] ".*"SASL".*"failed".?$                   { BEGIN(INITIAL); return CYRUSIMAP_SASL_LOGINERR_SUFF; }
-+<cyrusimap_loginerr>"] ".*"SASL".*"fail".*$                   { BEGIN(INITIAL); return CYRUSIMAP_SASL_LOGINERR_SUFF; }
- 
-  /* postfix */
- "warning: "({WORD}|{HOSTADDR})"["                               { BEGIN(postfix_loginerr); return POSTFIX_SASL_LOGINERR_PREF; }