[Midnightbsd-cvs] mports [15426] trunk/security/skipfish: skipfish 2.10b

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 8 17:35:11 EDT 2013


Revision: 15426
          http://svnweb.midnightbsd.org/mports/?rev=15426
Author:   laffer1
Date:     2013-09-08 17:35:10 -0400 (Sun, 08 Sep 2013)
Log Message:
-----------
skipfish 2.10b

Modified Paths:
--------------
    trunk/security/skipfish/Makefile
    trunk/security/skipfish/distinfo
    trunk/security/skipfish/pkg-descr
    trunk/security/skipfish/pkg-plist

Modified: trunk/security/skipfish/Makefile
===================================================================
--- trunk/security/skipfish/Makefile	2013-09-08 21:29:54 UTC (rev 15425)
+++ trunk/security/skipfish/Makefile	2013-09-08 21:35:10 UTC (rev 15426)
@@ -1,30 +1,48 @@
 # $MidnightBSD: mports/security/skipfish/Makefile,v 1.3 2010/03/21 22:09:23 laffer1 Exp $
 
 PORTNAME=	skipfish
-PORTVERSION=	1.07b
-PORTREVISION=	2
-CATEGORIES=	security
-MASTER_SITES=	http://skipfish.googlecode.com/files/
-DISTFILES=	${PORTNAME}-${PORTVERSION}.tgz
+PORTVERSION=	2.10b
+CATEGORIES=	security www
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	File and block device wiping utility
+MAINTAINER=	ports at mMidnightBSD.org
+COMMENT=	A fully automated, active web application security reconnaissance tool
+
 LICENSE=	apache2
 
-LIB_DEPENDS=	idn.17:${PORTSDIR}/dns/libidn
+LIB_DEPENDS=	idn:${PORTSDIR}/dns/libidn \
+    		pcre:${PORTSDIR}/devel/pcre
 
 USE_GMAKE=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}
 SUB_FILES=	pkg-message
-SUB_LIST=	DATADIR="${DATADIR}"
-MAKE_JOBS_SAFE=	yes
 
+MAN1=		skipfish.1
+
+.if !defined(NOPORTDOCS)
+PORTDOCS=	README COPYING ChangeLog
+.endif
+
 .include <bsd.port.pre.mk>
 
+post-patch:
+	@${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/complete.wl":' \
+		-e 's:"assets":"${DATADIR}/assets":' ${WRKSRC}/src/config.h
+
 do-install:
-	@${INSTALL} ${WRKSRC}/skipfish ${PREFIX}/bin/
-	@${MKDIR} ${DATADIR}
-	@(cd ${WRKSRC} && ${PAX} -rw dictionaries ${DATADIR})
-	(cd ${WRKSRC} && ${PAX} -rw assets ${DATADIR})
+	${INSTALL_PROGRAM} ${WRKSRC}/skipfish ${PREFIX}/bin/skipfish
+	${INSTALL_SCRIPT} ${WRKSRC}/tools/sfscandiff ${PREFIX}/bin/sfscandiff
+	${INSTALL_MAN} ${WRKSRC}/doc/skipfish.1 ${PREFIX}/man/man1
+	(cd ${WRKSRC}/assets/ && ${COPYTREE_SHARE} . ${DATADIR}/assets/)
+	(cd ${WRKSRC}/dictionaries/ && ${COPYTREE_SHARE} . ${DATADIR}/dictionaries/)
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+.	for doc in ${PORTDOCS}
+		${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.	endfor
+.endif
 
+post-install:
+	@${CAT} ${PKGMESSAGE}
+
 .include <bsd.port.post.mk>

Modified: trunk/security/skipfish/distinfo
===================================================================
--- trunk/security/skipfish/distinfo	2013-09-08 21:29:54 UTC (rev 15425)
+++ trunk/security/skipfish/distinfo	2013-09-08 21:35:10 UTC (rev 15426)
@@ -1,4 +1,2 @@
-MD5 (skipfish-1.07b.tgz) = e18b2b2e82dbd82f7d1bf534e9383cc0
-SHA256 (skipfish-1.07b.tgz) = 88dcd52f38670dd6bbfd6cd81312decbaf13fafdb4aba8f6f61913c60aeb6b21
-RMD160 (skipfish-1.07b.tgz) = 3d425a40998a9390a8f69e019a0fec46a7ff3e87
-SIZE (skipfish-1.07b.tgz) = 180358
+SHA256 (skipfish-2.10b.tgz) = 1a4fbc9d013f1f9b970946ea7228d943266127b7f4100c994ad26c82c5352a9e
+SIZE (skipfish-2.10b.tgz) = 244528

Modified: trunk/security/skipfish/pkg-descr
===================================================================
--- trunk/security/skipfish/pkg-descr	2013-09-08 21:29:54 UTC (rev 15425)
+++ trunk/security/skipfish/pkg-descr	2013-09-08 21:35:10 UTC (rev 15426)
@@ -1,11 +1,16 @@
-skipfish is (from the vendor's website)
+A fully automated, active web application security reconnaissance
+tool. Key features:
 
-A fully automated, active web application security reconnaissance tool. Key features:
+* High speed: pure C code, highly optimized HTTP handling, minimal
+  CPU footprint - easily achieving 2000 requests per second with
+  responsive targets.
 
-    * High speed: pure C code, highly optimized HTTP handling, minimal CPU footprint - easily achieving 2000 requests per second with responsive targets. 
+* Ease of use: heuristics to support a variety of quirky web
+  frameworks and mixed-technology sites, with automatic learning
+  capabilities, on-the-fly wordlist creation, and form autocompletion.
 
-    * Ease of use: heuristics to support a variety of quirky web frameworks and mixed-technology sites, with automatic learning capabilities, on-the-fly wordlist creation, and form autocompletion. 
+* Cutting-edge security logic: high quality, low false positive,
+  differential security checks, capable of spotting a range of subtle
+  flaws, including blind injection vectors.
 
-    * Cutting-edge security logic: high quality, low false positive, differential security checks, capable of spotting a range of subtle flaws, including blind injection vectors. 
-
-WWW: http://code.google.com/p/skipfish/
+WWW: http://code.google.com/p/skipfish

Modified: trunk/security/skipfish/pkg-plist
===================================================================
--- trunk/security/skipfish/pkg-plist	2013-09-08 21:29:54 UTC (rev 15425)
+++ trunk/security/skipfish/pkg-plist	2013-09-08 21:35:10 UTC (rev 15426)
@@ -1,15 +1,12 @@
- at comment $MidnightBSD: mports/Mk/components/maintainer.mk,v 1.2 2009/03/26 22:19:02 ctriv Exp $
 bin/skipfish
-%%DATADIR%%/dictionaries/extensions-only.wl
-%%DATADIR%%/dictionaries/default.wl
-%%DATADIR%%/dictionaries/README-FIRST
-%%DATADIR%%/dictionaries/minimal.wl
-%%DATADIR%%/dictionaries/complete.wl
+bin/sfscandiff
+%%DATADIR%%/assets/COPYING
 %%DATADIR%%/assets/i_high.png
 %%DATADIR%%/assets/i_low.png
 %%DATADIR%%/assets/i_medium.png
 %%DATADIR%%/assets/i_note.png
 %%DATADIR%%/assets/i_warn.png
+%%DATADIR%%/assets/index.html
 %%DATADIR%%/assets/mime_entry.png
 %%DATADIR%%/assets/n_children.png
 %%DATADIR%%/assets/n_clone.png
@@ -26,9 +23,11 @@
 %%DATADIR%%/assets/p_serv.png
 %%DATADIR%%/assets/p_unknown.png
 %%DATADIR%%/assets/p_value.png
-%%DATADIR%%/assets/index.html
-%%DATADIR%%/assets/COPYING
 %%DATADIR%%/assets/sf_name.png
+%%DATADIR%%/dictionaries/complete.wl
+%%DATADIR%%/dictionaries/medium.wl
+%%DATADIR%%/dictionaries/extensions-only.wl
+%%DATADIR%%/dictionaries/minimal.wl
 @dirrm %%DATADIR%%/dictionaries
 @dirrm %%DATADIR%%/assets
 @dirrm %%DATADIR%%



More information about the Midnightbsd-cvs mailing list