mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
60d1a83c2a
- 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
33 lines
887 B
Makefile
33 lines
887 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
|
|
|
|
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
|
|
USE_PERL5= run
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/sshit
|
|
|
|
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>
|