[Midnightbsd-cvs] mports [21042] trunk/security/skipfish: patch skipfish

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 1 16:17:49 EST 2016


Revision: 21042
          http://svnweb.midnightbsd.org/mports/?rev=21042
Author:   laffer1
Date:     2016-03-01 16:17:45 -0500 (Tue, 01 Mar 2016)
Log Message:
-----------
patch skipfish

Modified Paths:
--------------
    trunk/security/skipfish/Makefile
    trunk/security/skipfish/files/pkg-message.in

Added Paths:
-----------
    trunk/security/skipfish/files/patch-Makefile
    trunk/security/skipfish/files/patch-report.c
    trunk/security/skipfish/files/patch-sfscandiff
    trunk/security/skipfish/files/patch-src__http_client.c

Modified: trunk/security/skipfish/Makefile
===================================================================
--- trunk/security/skipfish/Makefile	2016-03-01 21:15:58 UTC (rev 21041)
+++ trunk/security/skipfish/Makefile	2016-03-01 21:17:45 UTC (rev 21042)
@@ -2,13 +2,13 @@
 
 PORTNAME=	skipfish
 PORTVERSION=	2.10b
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security www
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	GOOGLE_CODE
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at mMidnightBSD.org
-COMMENT=	A fully automated, active web application security reconnaissance tool
+COMMENT=	Fully automated, active web application security reconnaissance tool
 
 LICENSE=	apache2
 LICENSE_FILE=	${WRKSRC}/COPYING

Added: trunk/security/skipfish/files/patch-Makefile
===================================================================
--- trunk/security/skipfish/files/patch-Makefile	                        (rev 0)
+++ trunk/security/skipfish/files/patch-Makefile	2016-03-01 21:17:45 UTC (rev 21042)
@@ -0,0 +1,33 @@
+--- ./Makefile.orig	2012-12-07 10:14:00.000000000 -0500
++++ ./Makefile	2012-12-07 10:15:06.000000000 -0500
+@@ -33,13 +33,14 @@
+ OBJFILES   = $(patsubst %,$(SRCDIR)/%,$(SFILES))
+ INCFILES   = $(patsubst %,$(SRCDIR)/%,$(IFILES))
+ 
+-CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I/usr/local/include/ \
+-             -I/opt/local/include/ $(CFLAGS) -DVERSION=\"$(VERSION)\"
++_LOCALBASE ?= ${LOCALBASE}
++CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I$(LOCALBASE)/include/ \
++             $(CFLAGS) -DVERSION=\"$(VERSION)\"
+ CFLAGS_DBG = -DLOG_STDERR=1 -DDEBUG_ALLOCATOR=1 \
+              $(CFLAGS_GEN)
+ CFLAGS_OPT =  -O3 -Wno-format $(CFLAGS_GEN)
+ 
+-LDFLAGS   += -L/usr/local/lib/ -L/opt/local/lib
++LDFLAGS   += -L$(LOCALBASE)/lib
+ LIBS      += -lcrypto -lssl -lidn -lz -lpcre
+ 
+ all: $(PROGNAME)
+@@ -47,12 +48,6 @@
+ $(PROGNAME): $(SRCDIR)/$(PROGNAME).c $(OBJFILES) $(INCFILES)
+ 	$(CC) $(LDFLAGS) $(SRCDIR)/$(PROGNAME).c -o $(PROGNAME) \
+         $(CFLAGS_OPT) $(OBJFILES) $(LIBS)
+-	@echo
+-	@echo "See doc/dictionaries.txt to pick a dictionary for the tool."
+-	@echo
+-	@echo "Having problems with your scans? Be sure to visit:"
+-	@echo "http://code.google.com/p/skipfish/wiki/KnownIssues"
+-	@echo
+ 
+ debug: $(SRCDIR)/$(PROGNAME).c $(OBJFILES) $(INCFILES)
+ 	$(CC) $(LDFLAGS) $(SRCDIR)/$(PROGNAME).c -o $(PROGNAME) \


Property changes on: trunk/security/skipfish/files/patch-Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/skipfish/files/patch-report.c
===================================================================
--- trunk/security/skipfish/files/patch-report.c	                        (rev 0)
+++ trunk/security/skipfish/files/patch-report.c	2016-03-01 21:17:45 UTC (rev 21042)
@@ -0,0 +1,11 @@
+--- ./src/report.c.orig	2012-09-24 11:55:23.000000000 -0400
++++ ./src/report.c	2012-09-24 11:55:32.000000000 -0400
+@@ -799,7 +799,7 @@
+ static void copy_static_code(u8* out_dir) {
+   struct dirent** d;
+   ca_out_dir = out_dir;
+-  scandir(ASSETS_DIR, &d, copy_asset, NULL);
++  scandir(ASSETS_DIR, &d, (int(*)())copy_asset, NULL);
+ }
+ 
+ 


Property changes on: trunk/security/skipfish/files/patch-report.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/skipfish/files/patch-sfscandiff
===================================================================
--- trunk/security/skipfish/files/patch-sfscandiff	                        (rev 0)
+++ trunk/security/skipfish/files/patch-sfscandiff	2016-03-01 21:17:45 UTC (rev 21042)
@@ -0,0 +1,8 @@
+--- ./tools/sfscandiff.orig	2011-06-29 20:06:17.000000000 -0400
++++ ./tools/sfscandiff	2011-06-29 20:06:20.000000000 -0400
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ 
+ echo "sfscandiff - skipfish scan result comparator (lcamtuf at google.com)" 1>&2
+ 


Property changes on: trunk/security/skipfish/files/patch-sfscandiff
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/skipfish/files/patch-src__http_client.c
===================================================================
--- trunk/security/skipfish/files/patch-src__http_client.c	                        (rev 0)
+++ trunk/security/skipfish/files/patch-src__http_client.c	2016-03-01 21:17:45 UTC (rev 21042)
@@ -0,0 +1,10 @@
+--- ./src/http_client.c.orig	2012-09-24 12:05:51.000000000 -0400
++++ ./src/http_client.c	2012-09-24 12:05:58.000000000 -0400
+@@ -44,6 +44,7 @@
+ #include "alloc-inl.h"
+ #include "string-inl.h"
+ #include "database.h"
++#include "config.h"
+ 
+ #include "http_client.h"
+ 


Property changes on: trunk/security/skipfish/files/patch-src__http_client.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/security/skipfish/files/pkg-message.in
===================================================================
--- trunk/security/skipfish/files/pkg-message.in	2016-03-01 21:15:58 UTC (rev 21041)
+++ trunk/security/skipfish/files/pkg-message.in	2016-03-01 21:17:45 UTC (rev 21042)
@@ -1,6 +1,14 @@
-Dictionary files are installed in
-%%DATADIR%%/dictionaries
 
-You must run the program from 
-%%DATADIR%% 
-for it to find all of the resources it needs.
+******************************************************************
+The FreeBSD port is configured to use the "default" dictionary but
+it's highly recommended to read the dictionaries document first in
+order to pick the right dictionary
+
+%%DATADIR%%/dictionaries/README-FIRST
+
+The skipfish dictionaries have been installed in the following
+directory:
+
+%%DATADIR%%/dictionaries/
+******************************************************************
+



More information about the Midnightbsd-cvs mailing list