diff options
Diffstat (limited to 'security/skipfish')
-rw-r--r-- | security/skipfish/Makefile | 11 | ||||
-rw-r--r-- | security/skipfish/distinfo | 6 | ||||
-rw-r--r-- | security/skipfish/files/patch-aa | 29 |
3 files changed, 29 insertions, 17 deletions
diff --git a/security/skipfish/Makefile b/security/skipfish/Makefile index c4450dbccb42..40908fbc8123 100644 --- a/security/skipfish/Makefile +++ b/security/skipfish/Makefile @@ -5,8 +5,8 @@ # $FreeBSD$ PORTNAME= skipfish -PORTVERSION= 1.11b -CATEGORIES= security +PORTVERSION= 1.29b +CATEGORIES= security www MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} EXTRACT_SUFX= .tgz @@ -14,9 +14,7 @@ MAINTAINER= rpsfa@rit.edu COMMENT= A fully automated, active web application security reconnaissance tool LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn - SUB_FILES= pkg-message - WRKSRC= ${WRKDIR}/${PORTNAME} .if !defined(NOPORTDOCS) @@ -30,9 +28,8 @@ BROKEN= does not build on 6.x yet .endif post-patch: - @${SED} -ie 's:assets:${DATADIR}/assets:g' ${WRKSRC}/report.c - @${SED} -ie 's:assets/:${DATADIR}/assets/:g' ${WRKSRC}/skipfish.c - @${SED} -ie 's:skipfish.wl:${DATADIR}/dictionaries/default.wl:g' ${WRKSRC}/config.h + @${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/default.wl":' \ + -e 's:"assets":"${DATADIR}/assets":' ${WRKSRC}/config.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/skipfish ${PREFIX}/bin/skipfish diff --git a/security/skipfish/distinfo b/security/skipfish/distinfo index 859908dd874c..14b806ef34f8 100644 --- a/security/skipfish/distinfo +++ b/security/skipfish/distinfo @@ -1,3 +1,3 @@ -MD5 (skipfish-1.11b.tgz) = 49b2e116808688c5e52378dfe568c885 -SHA256 (skipfish-1.11b.tgz) = ed3d45cf54770db9cae12422c36f1e3f90857da4381a47956b355bc9d7f35ea0 -SIZE (skipfish-1.11b.tgz) = 170563 +MD5 (skipfish-1.29b.tgz) = 84544ad46472d1f5eb22987aaa06333e +SHA256 (skipfish-1.29b.tgz) = d11f7a5f84626a4a880eb4a245b559dd765819c9943bb5f8eed041cc0d22377d +SIZE (skipfish-1.29b.tgz) = 175977 diff --git a/security/skipfish/files/patch-aa b/security/skipfish/files/patch-aa index a2206cf2c56f..f63d69a2ca98 100644 --- a/security/skipfish/files/patch-aa +++ b/security/skipfish/files/patch-aa @@ -1,15 +1,30 @@ ---- Makefile.orig 2010-03-22 20:34:04.000000000 +0100 -+++ Makefile 2010-03-22 20:34:40.000000000 +0100 -@@ -35,9 +35,9 @@ +--- Makefile.origi 2010-04-03 10:33:32.000000000 +0200 ++++ Makefile 2010-04-03 10:36:10.000000000 +0200 +@@ -30,7 +30,7 @@ + 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 + + all: $(PROGNAME) +@@ -38,12 +38,12 @@ $(PROGNAME): $(PROGNAME).c $(OBJFILES) $(INCFILES) - $(CC) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS_OPT) $(OBJFILES) $(LDFLAGS) + $(CC) $(LDFLAGS) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS_OPT) \ + $(OBJFILES) $(LIBS) +- @echo +- @echo "See dictionaries/README-FIRST to pick a dictionary for the tool." - @echo -- @echo "NOTE: See dictionaries/README-FIRST to pick a dictionary for the tool." +- @echo "Having problems with your scans? Be sure to visit:" +- @echo "http://code.google.com/p/skipfish/wiki/KnownIssues" - @echo +# @echo -+# @echo "NOTE: See dictionaries/README-FIRST to pick a dictionary for the tool." ++# @echo "See dictionaries/README-FIRST 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: $(PROGNAME).c $(OBJFILES) $(INCFILES) - $(CC) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS_DBG) $(OBJFILES) $(LDFLAGS) + $(CC) $(LDFLAGS) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS_DBG) \ |