opnsense-ports/security/sshguard/Makefile
Franco Fichtner 308dbabf77 */*: sync with upstream
Taken from: HardenedBSD
2017-07-25 05:53:21 +02:00

31 lines
799 B
Makefile

# Created by: Mij <mij@bitchx.it>
# $FreeBSD$
PORTNAME= sshguard
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
MAINTAINER= dan.mcgregor@usask.ca
COMMENT= Protect hosts from brute force attacks against ssh and other services
LICENSE= BSD2CLAUSE
USES= autoreconf
USE_RC_SUBR= sshguard
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}"
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:
${INSTALL} -d ${STAGEDIR}${PREFIX}/etc
${INSTALL} -m 644 ${WRKSRC}/examples/sshguard.conf.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>