mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
597afc47ba
With hat: portmgr Sponsored by: Absolight
33 lines
731 B
Makefile
33 lines
731 B
Makefile
# Created by: Anders Nordby <anders@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sshblock
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.bsdconsulting.no/tools/
|
|
EXTRACT_SUFX= .pl
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Block abusive SSH login attempts
|
|
|
|
RUN_DEPENDS= p5-File-Tail>=0:devel/p5-File-Tail
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_FILES= sbin/sshblock
|
|
USES= perl5 shebangfix
|
|
USE_RC_SUBR= sshblock
|
|
SUB_LIST= PERL=${PERL}
|
|
EXTRACT_CMD= ${CP}
|
|
EXTRACT_BEFORE_ARGS=
|
|
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
|
SUB_FILES+= pkg-message
|
|
SHEBANG_FILES= ${WRKSRC}/sshblock-${PORTVERSION}.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sshblock-${PORTVERSION}.pl \
|
|
${STAGEDIR}${PREFIX}/sbin/sshblock
|
|
|
|
.include <bsd.port.mk>
|