diff options
author | Anders Nordby <anders@FreeBSD.org> | 2006-12-03 22:25:18 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2006-12-03 22:25:18 +0000 |
commit | 4162850462644d6fabbe5a1218ba3d070b393b51 (patch) | |
tree | b7796b32e264ef5aa4d6ac35265ee7b4382af609 /security/sshblock/Makefile | |
parent | 75745d05688bbc46ad403bd3265bfa820da0d4de (diff) |
Add sshblock, a tool to block abusive SSH login attempts.
Notes
Notes:
svn path=/head/; revision=178740
Diffstat (limited to 'security/sshblock/Makefile')
-rw-r--r-- | security/sshblock/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/security/sshblock/Makefile b/security/sshblock/Makefile new file mode 100644 index 000000000000..4eb7be0d0c40 --- /dev/null +++ b/security/sshblock/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: sshblock +# Date created: 03 December 2006 +# Whom: Anders Nordby <anders@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= sshblock +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= http://www.bsdconsulting.no/tools/ +EXTRACT_SUFX= .pl + +MAINTAINER= anders@FreeBSD.org +COMMENT= Block abusive SSH login attempts + +RUN_DEPENDS= ${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail + +NO_BUILD= yes +NO_WRKSUBDIR= yes +PLIST_FILES= sbin/sshblock +USE_PERL5= yes +USE_RC_SUBR= sshblock +SUB_LIST= PERL=${PERL} +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= ${WRKDIR} +SUB_FILES+= pkg-message +#SUB_FILES= sshblock.sh + +do-patch: + @${REINPLACE_CMD} -e "s@/usr/bin/perl@${PERL}@" \ + ${WRKSRC}/sshblock-${PORTVERSION}.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/sshblock-${PORTVERSION}.pl \ + ${PREFIX}/sbin/sshblock + +post-install: + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |