mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
f74c64ea9b
default. 30 makes it far too easy to get locked out of your own server. 120 is simply a safer starting point. PR: 227016 Submitted by: Dan McGregor (maintainer) MFH: 2018Q2
29 lines
712 B
Makefile
29 lines
712 B
Makefile
# Created by: Mij <mij@bitchx.it>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sshguard
|
|
PORTVERSION= 2.1.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
|
|
|
|
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:
|
|
${INSTALL} -d ${STAGEDIR}${PREFIX}/etc
|
|
${INSTALL} -m 644 ${WRKSRC}/examples/sshguard.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
|
|
.include <bsd.port.mk>
|