7c47779cb9
${PERL5} points to a specific version of perl, say, perl5.22.1, it is fine to use it in a ports Makefile to do Perly things, but ports using it must use ${PERL}, that points to /usr/local/bin/perl so that if the minor version is updated, the shebang keep working. While there, make some ports use shebangfix, regen a few patches, and bump PORTREVISION where a shebang went from PERL5 to PERL. PR: 205367 With hat: portmgr Sponsored by: Absolight
32 lines
858 B
Makefile
32 lines
858 B
Makefile
# Created by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sshit
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 4
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://anp.ath.cx/sshit/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Checks for SSH/FTP bruteforce and blocks given IPs
|
|
|
|
BROKEN= unfetchable
|
|
|
|
RUN_DEPENDS= p5-Unix-Syslog>=0:${PORTSDIR}/sysutils/p5-Unix-Syslog \
|
|
p5-IPC-Shareable>=0:${PORTSDIR}/devel/p5-IPC-Shareable \
|
|
p5-Proc-PID-File>=0:${PORTSDIR}/devel/p5-Proc-PID-File
|
|
|
|
NO_BUILD= yes
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= run
|
|
SHEBANG_FILES= sshit
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf-dist
|
|
|
|
.include <bsd.port.mk>
|