freebsd-ports/security/bruteforceblocker/Makefile
Kurt Jaeger e3dd66ae13 security/bruteforceblocker: re-add LICENSE=NONE
PR:		234137
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2019-02-12 18:26:19 +00:00

39 lines
938 B
Makefile

# Created by: Daniel Gerzo <danger@rulez.sk>
# $FreeBSD$
PORTNAME= bruteforceblocker
PORTVERSION= 1.2.6
PORTREVISION= 2
CATEGORIES= security
MAINTAINER= danger@FreeBSD.org
COMMENT= Checks for SSH bruteforce and blocks given IPs
LICENSE= NONE
RUN_DEPENDS= p5-Unix-Syslog>=0:sysutils/p5-Unix-Syslog \
p5-Sys-Hostname-Long>=0:sysutils/p5-Sys-Hostname-Long \
p5-libwww>=0:www/p5-libwww \
p5-Net-DNS>=0:dns/p5-Net-DNS
USES= perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= dgerzo
USE_PERL5= run
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
SUB_FILES= pkg-message
SHEBANG_FILES= ${PORTNAME}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in INSTALL CHANGELOG CREDITS
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>