diff options
-rw-r--r-- | security/sshit/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/security/sshit/Makefile b/security/sshit/Makefile index e57be62b047a..2ff2ecccabd9 100644 --- a/security/sshit/Makefile +++ b/security/sshit/Makefile @@ -8,7 +8,7 @@ CATEGORIES= security MASTER_SITES= http://anp.ath.cx/sshit/ \ ${MASTER_SITE_LOCAL} -MAINTAINER= rafan@FreeBSD.org +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 \ @@ -23,17 +23,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/sshit do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf-dist + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf-dist post-install: @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ - ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf-dist ${PREFIX}/etc/${PORTNAME}.conf ; \ + ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf-dist ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf ; \ fi .if !defined(BATCH) @${CAT} ${PKGMESSAGE} |