Date: Fri, 24 Jan 2014 11:33:38 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/186064: [PATCH] security/bruteforceblocker: add 'USES=shebangfix' to adjust perl path Message-ID: <20140124023338.C97C1C3FFF@rolling-vm-freebsd2.home.utahime.org> Resent-Message-ID: <201401240240.s0O2e06g006925@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186064 >Category: ports >Synopsis: [PATCH] security/bruteforceblocker: add 'USES=shebangfix' to adjust perl path >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jan 24 02:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Yasuhiro KIMURA >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD xxxx 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260673: Mon Jan 20 13:37:55 JST 2014 xxxx amd64 >Description: - Add 'USES=shebangfix' to adjust perl path of script. - OptionsNGfy. - Support staging. - Bump PORTREVISON because content of script is changed. >How-To-Repeat: >Fix: --- patch-bruteforceblocker begins here --- Index: Makefile =================================================================== --- Makefile (revision 340866) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= bruteforceblocker PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://danger.rulez.sk/projects/bruteforceblocker/ \ ${MASTER_SITE_LOCAL} @@ -17,30 +18,22 @@ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS NO_BUILD= yes -USES= perl5 +USES= perl5 shebangfix USE_PERL5= run WRKSRC= ${WRKDIR}/${PORTNAME} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message +SHEBANG_FILES= ${PORTNAME}.pl -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/sbin/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf-dist -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf-dist + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in INSTALL CHANGELOG CREDITS - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor -.endif -post-install: - @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ - ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf-dist ${PREFIX}/etc/${PORTNAME}.conf ; \ - fi -.if !defined(BATCH) - @${CAT} ${PKGMESSAGE} -.endif - .include <bsd.port.mk> --- patch-bruteforceblocker ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140124023338.C97C1C3FFF>