blob: 7b4bf51e9be4ed8397ef474d0364010ba54f37ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Mij <mij@bitchx.it>
# $FreeBSD$
PORTNAME= sshguard
PORTVERSION= 2.3.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_DATA} ${WRKSRC}/examples/sshguard.conf.sample \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>
|