svn commit: r444344 - head/security/dotdotpwn
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jun 26 03:24:50 UTC 2017
Author: sunpoet
Date: Mon Jun 26 03:24:48 2017
New Revision: 444344
URL: https://svnweb.freebsd.org/changeset/ports/444344
Log:
Remove Perl core modules
- While I'm here:
- Remove MASTER_SITES
- Add missing OPTIONS_DEFINE=DOCS
- Fix indent
- Convert to options target helper
- Bump PORTREVISION for dependency change
With hat: perl
Modified:
head/security/dotdotpwn/Makefile
Modified: head/security/dotdotpwn/Makefile
==============================================================================
--- head/security/dotdotpwn/Makefile Mon Jun 26 03:24:43 2017 (r444343)
+++ head/security/dotdotpwn/Makefile Mon Jun 26 03:24:48 2017 (r444344)
@@ -2,30 +2,29 @@
PORTNAME= dotdotpwn
PORTVERSION= 3.0.2
+PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= GH
MAINTAINER= rihaz.jerrin at gmail.com
COMMENT= Fuzzer to discover traversal directory vulnerabilities
LICENSE= LGPL21
-RUN_DEPENDS= p5-Time-HiRes>=0:devel/p5-Time-HiRes \
- p5-Switch>=0:lang/p5-Switch \
+RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \
p5-libwww>=0:www/p5-libwww \
p5-TFTP>=0:net/p5-TFTP
USE_GITHUB= yes
GH_ACCOUNT= wireghoul
-OPTIONS_DEFINE= NMAP
+OPTIONS_DEFINE= DOCS NMAP
OPTIONS_SUB= yes
NMAP_DESC= ENABLE OS DETECTION FEATURE - REQUIRES NMAP
OPTIONS_DEFAULT= NMAP
OSDETECTION_RUN_DEPENDS= nmap:security/nmap
-USES= perl5 shebangfix
+USES= perl5 shebangfix
SHEBANG_FILES= ${WRKSRC}/dotdotpwn.pl ${WRKSRC}/DotDotPwn/BisectionAlgorithm.pm ${WRKSRC}/DotDotPwn/FTP.pm ${WRKSRC}/DotDotPwn/File.pm ${WRKSRC}/DotDotPwn/Fingerprint.pm ${WRKSRC}/DotDotPwn/HTTP.pm ${WRKSRC}/DotDotPwn/HTTP_Url.pm ${WRKSRC}/DotDotPwn/Payload.pm ${WRKSRC}/DotDotPwn/STDOUT.pm ${WRKSRC}/DotDotPwn/TFTP.pm ${WRKSRC}/DotDotPwn/TraversalEngine.pm
@@ -39,10 +38,12 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/DotDotPwn
${MKDIR} ${STAGEDIR}${DATADIR}/DotDotPwn
(cd ${WRKSRC}/DotDotPwn && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/DotDotPwn)
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/DotDotPwn/User-Agents.txt ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/payload_sample_1.txt ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/payload_sample_2.txt ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list