Date: Fri, 30 May 2014 13:22:27 +0000 (UTC) From: Rong-En Fan <rafan@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355835 - head/security/sshit Message-ID: <201405301322.s4UDMR67062353@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rafan Date: Fri May 30 13:22:27 2014 New Revision: 355835 URL: http://svnweb.freebsd.org/changeset/ports/355835 QAT: https://qat.redports.org/buildarchive/r355835/ Log: Support staging and reset maintainership Modified: head/security/sshit/Makefile Modified: head/security/sshit/Makefile ============================================================================== --- head/security/sshit/Makefile Fri May 30 13:21:14 2014 (r355834) +++ head/security/sshit/Makefile Fri May 30 13:22:27 2014 (r355835) @@ -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}-${PORTVER 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405301322.s4UDMR67062353>