Kevin Zheng 42120f608d security/sshguard: Update to 2.5.1
- Fix a denial of service issue in the quoted string parser
- Fix build on systems without setresgid() or setresuid()

PR:		286460
MFH:		2025Q2
2025-05-02 21:11:58 +01:00

32 lines
715 B
Makefile

PORTNAME= sshguard
PORTVERSION= 2.5.1
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
MAINTAINER= kevinz5000@gmail.com
COMMENT= Protect hosts from brute-force attacks against SSH and other services
WWW= https://www.sshguard.net/
LICENSE= BSD2CLAUSE
USE_RC_SUBR= sshguard
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|' \
${WRKSRC}/doc/sshguard.8.rst
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/examples/sshguard.conf.sample
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/examples/sshguard.conf.sample \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>