Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2019 09:35:37 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514780 - head/security/dotdotpwn
Message-ID:  <201910190935.x9J9ZbV3043121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Oct 19 09:35:37 2019
New Revision: 514780
URL: https://svnweb.freebsd.org/changeset/ports/514780

Log:
  security/dotdotpwn: Spell NMAP_RUN_DEPENDS correctly
  
  While here
  
  - Stop shouting NMAP_DESC
  - Pet portclippy while here
  - Clean up SHEBANG_FILES
  - Fix LICENSE
  - Install license via license framework
  - Reformat pkg-descr

Modified:
  head/security/dotdotpwn/Makefile

Modified: head/security/dotdotpwn/Makefile
==============================================================================
--- head/security/dotdotpwn/Makefile	Sat Oct 19 09:15:07 2019	(r514779)
+++ head/security/dotdotpwn/Makefile	Sat Oct 19 09:35:37 2019	(r514780)
@@ -2,36 +2,39 @@
 
 PORTNAME=	dotdotpwn
 PORTVERSION=	3.0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 
 MAINTAINER=	rihaz.jerrin@gmail.com
 COMMENT=	Fuzzer to discover traversal directory vulnerabilities
 
-LICENSE=	LGPL21
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	p5-Switch>=0:lang/p5-Switch	\
 		p5-libwww>=0:www/p5-libwww	\
 		p5-TFTP>=0:net/p5-TFTP
 
+USES=		perl5 shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	wireghoul
+SHEBANG_FILES=	dotdotpwn.pl DotDotPwn/BisectionAlgorithm.pm DotDotPwn/File.pm \
+		DotDotPwn/Fingerprint.pm DotDotPwn/FTP.pm DotDotPwn/HTTP.pm \
+		DotDotPwn/HTTP_Url.pm DotDotPwn/Payload.pm DotDotPwn/STDOUT.pm \
+		DotDotPwn/TFTP.pm DotDotPwn/TraversalEngine.pm
 
-OPTIONS_DEFINE=	DOCS NMAP
-OPTIONS_SUB=	yes
-NMAP_DESC=	ENABLE OS DETECTION FEATURE - REQUIRES NMAP
-OPTIONS_DEFAULT=NMAP
+NO_ARCH=	yes
+NO_BUILD=	yes
 
-OSDETECTION_RUN_DEPENDS=	nmap:security/nmap
+PORTDOCS=	AUTHORS.txt CHANGELOG.txt EXAMPLES.txt README.txt TODO.txt
 
-USES=		perl5 shebangfix
+OPTIONS_DEFINE=		DOCS NMAP
+OPTIONS_DEFAULT=	NMAP
+OPTIONS_SUB=		yes
 
-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
+NMAP_DESC=	Enable OS detection feature (requires nmap)
 
-NO_BUILD=	yes
-NO_ARCH=	yes
-
-PORTDOCS=	README.txt  TODO.txt  CHANGELOG.txt  LICENSE.txt AUTHORS.txt EXAMPLES.txt
+NMAP_RUN_DEPENDS=	nmap:security/nmap
 
 do-install:
 	${INSTALL_SCRIPT}   ${WRKSRC}/dotdotpwn.pl ${STAGEDIR}${PREFIX}/bin/dotdotpwn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910190935.x9J9ZbV3043121>