? files/patch-ab Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/skipfish/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 25 Mar 2010 06:43:36 -0000 1.1 +++ Makefile 3 Apr 2010 14:51:30 -0000 @@ -5,8 +5,8 @@ # $FreeBSD: ports/security/skipfish/Makefile,v 1.1 2010/03/25 06:43:36 niels Exp $ PORTNAME= skipfish -PORTVERSION= 1.11b -CATEGORIES= security +PORTVERSION= 1.29b +CATEGORIES= security www MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} EXTRACT_SUFX= .tgz @@ -15,17 +15,21 @@ LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn SUB_FILES= pkg-message - WRKSRC= ${WRKDIR}/${PORTNAME} .if !defined(NOPORTDOCS) PORTDOCS= README COPYING ChangeLog .endif +.include + +.if ${OSVERSION} < 700000 +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 @@ -41,4 +45,4 @@ post-install: @${CAT} ${PKGMESSAGE} -.include +.include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/security/skipfish/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 25 Mar 2010 06:43:36 -0000 1.1 +++ distinfo 3 Apr 2010 14:51:30 -0000 @@ -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 Index: files/patch-aa =================================================================== RCS file: /home/pcvs/ports/security/skipfish/files/patch-aa,v retrieving revision 1.1 diff -u -r1.1 patch-aa --- files/patch-aa 25 Mar 2010 06:43:37 -0000 1.1 +++ files/patch-aa 3 Apr 2010 14:51:30 -0000 @@ -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) \