freebsd-ports/security/bruteforceblocker/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

37 lines
1 KiB
Makefile

# Created by: Daniel Gerzo <danger@rulez.sk>
# $FreeBSD$
PORTNAME= bruteforceblocker
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://danger.rulez.sk/projects/bruteforceblocker/ \
LOCAL/pav
MAINTAINER= danger@FreeBSD.org
COMMENT= Checks for SSH bruteforce and blocks given IPs
RUN_DEPENDS= p5-Unix-Syslog>=0:${PORTSDIR}/sysutils/p5-Unix-Syslog \
p5-Sys-Hostname-Long>=0:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
NO_BUILD= yes
USES= perl5 shebangfix
USE_PERL5= run
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}
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>