freebsd-ports/security/sshguard/Makefile
Steve Wills 28044c6163 security/sshguard: Update to 2.4.1
PR:		248404
Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
Approved by:	maintainer timeout (dan.mcgregor@usask.ca, multiple timeouts)
2020-08-15 19:31:33 +00:00

31 lines
713 B
Makefile

# Created by: Mij <mij@bitchx.it>
# $FreeBSD$
PORTNAME= sshguard
PORTVERSION= 2.4.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>