mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
c3381bf4d9
This bug causes a stack overflow (and crash due to failed stack check) when certain IPv6 addresses are whitelisted on i386. PR: 258179 Reported by: John Marshall <john@jmarshall.id.au> MFH: 2021Q4
32 lines
717 B
Makefile
32 lines
717 B
Makefile
# Created by: Mij <mij@bitchx.it>
|
|
|
|
PORTNAME= sshguard
|
|
PORTVERSION= 2.4.2
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
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>
|