aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2014-05-30 21:22:27 +0800
committerrafan <rafan@FreeBSD.org>2014-05-30 21:22:27 +0800
commitc35f267b5b867af4112a2de08865ff65d48cbf24 (patch)
treeee2826ec46b7d61885d5512cb415982d80a0531c /security
parentb9cbc902dece77d755faf52ec054ac8b0ee91909 (diff)
downloadfreebsd-ports-gnome-c35f267b5b867af4112a2de08865ff65d48cbf24.tar.gz
freebsd-ports-gnome-c35f267b5b867af4112a2de08865ff65d48cbf24.tar.zst
freebsd-ports-gnome-c35f267b5b867af4112a2de08865ff65d48cbf24.zip
Support staging and reset maintainership
Diffstat (limited to 'security')
-rw-r--r--security/sshit/Makefile9
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}