aboutsummaryrefslogtreecommitdiffstats
path: root/security/blocksshd/Makefile
blob: 3c50cc577587bb1afeda4796b6dcc8a0f29b1046 (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
31
32
# New ports collection makefile for:    blocksshd
# Date created:     2006-07-20
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   blocksshd
PORTVERSION=    1.0
CATEGORIES= security sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blocksshd

MAINTAINER= ports@FreeBSD.org
COMMENT=    Protects computers from SSH brute force attacks

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Net/DNS/Resolver.pm:${PORTSDIR}/dns/p5-Net-DNS \
        ${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail \
        ${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
        ${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File

MAKE_ARGS=  PREFIX="${TARGETDIR}" SYSCONFDIR="${TARGETDIR}/etc"
NO_BUILD=   yes
USE_PERL5_RUN=  yes

MAN1=       blocksshd.1

post-patch:
    @${CHMOD} 755 ${WRKSRC}/init
    @${REINPLACE_CMD} -e 's|^MANCOMPRESS = .gz||g' ${WRKSRC}/Makefile

.include <bsd.port.mk>