aboutsummaryrefslogtreecommitdiffstats
path: root/security/skipfish
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-12-13 08:37:58 +0800
committerwxs <wxs@FreeBSD.org>2010-12-13 08:37:58 +0800
commit2a71fedd4dfa8d4d6207ad1666426d8c762fdfbe (patch)
tree5067c9ea85c0f80e4f845ef1c850578905fa3f1a /security/skipfish
parent624f7a68150299e1d0a7f35b5f5c79bb8b734024 (diff)
downloadfreebsd-ports-gnome-2a71fedd4dfa8d4d6207ad1666426d8c762fdfbe.tar.gz
freebsd-ports-gnome-2a71fedd4dfa8d4d6207ad1666426d8c762fdfbe.tar.zst
freebsd-ports-gnome-2a71fedd4dfa8d4d6207ad1666426d8c762fdfbe.zip
Update to 1.81b.
Whitespace fix. Respect PREFIX != LOCALBASE. PR: ports/152763 Submitted by: Ryan Steinmetz <rpsfa@rit.edu> (maintainer)
Diffstat (limited to 'security/skipfish')
-rw-r--r--security/skipfish/Makefile4
-rw-r--r--security/skipfish/distinfo5
-rw-r--r--security/skipfish/files/patch-Makefile15
-rw-r--r--security/skipfish/pkg-plist2
4 files changed, 16 insertions, 10 deletions
diff --git a/security/skipfish/Makefile b/security/skipfish/Makefile
index 115d476d575c..6465f24fccf4 100644
--- a/security/skipfish/Makefile
+++ b/security/skipfish/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= skipfish
-PORTVERSION= 1.67b
+PORTVERSION= 1.81b
CATEGORIES= security www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX= .tgz
@@ -30,7 +30,7 @@ BROKEN= does not build on 6.x yet
.endif
post-patch:
- @${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/default.wl":' \
+ @${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/complete.wl":' \
-e 's:"assets":"${DATADIR}/assets":' ${WRKSRC}/config.h
do-install:
diff --git a/security/skipfish/distinfo b/security/skipfish/distinfo
index 486ab3dd0dc1..c3c718df07db 100644
--- a/security/skipfish/distinfo
+++ b/security/skipfish/distinfo
@@ -1,3 +1,2 @@
-MD5 (skipfish-1.67b.tgz) = 0815d59fa7cd5cf6050374561b6370b4
-SHA256 (skipfish-1.67b.tgz) = e87d3e58e521d31ed3b814749eec1512553924bbfa03459841c025c7d161283a
-SIZE (skipfish-1.67b.tgz) = 181520
+SHA256 (skipfish-1.81b.tgz) = 292b0fa64d8920744613f4caffb67ef8123f2840c9c8a70c98c577ccec4d1dc4
+SIZE (skipfish-1.81b.tgz) = 184023
diff --git a/security/skipfish/files/patch-Makefile b/security/skipfish/files/patch-Makefile
index 9b8fe477c0db..dcf8023b8a2e 100644
--- a/security/skipfish/files/patch-Makefile
+++ b/security/skipfish/files/patch-Makefile
@@ -1,6 +1,13 @@
---- ./Makefile.orig 2010-03-30 17:53:01.000000000 +0200
-+++ ./Makefile 2010-04-11 19:05:39.000000000 +0200
-@@ -30,7 +30,7 @@
+--- Makefile.orig 2010-11-29 16:59:49.000000000 -0500
++++ Makefile 2010-12-12 19:24:29.000000000 -0500
+@@ -26,12 +26,13 @@
+ INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \
+ database.h crawler.h analysis.h config.h report.h
+
+-CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I/usr/local/include/ \
++_LOCALBASE ?= ${LOCALBASE}
++CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I$(LOCALBASE)/include/ \
+ -I/opt/local/include/ $(CFLAGS) -DVERSION=\"$(VERSION)\"
CFLAGS_DBG = -DLOG_STDERR=1 -DDEBUG_ALLOCATOR=1 $(CFLAGS_GEN)
CFLAGS_OPT = -O3 -Wno-format $(CFLAGS_GEN)
@@ -9,7 +16,7 @@
LIBS += -lcrypto -lssl -lidn -lz
all: $(PROGNAME)
-@@ -38,12 +38,12 @@
+@@ -39,12 +40,12 @@
$(PROGNAME): $(PROGNAME).c $(OBJFILES) $(INCFILES)
$(CC) $(LDFLAGS) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS_OPT) \
$(OBJFILES) $(LIBS)
diff --git a/security/skipfish/pkg-plist b/security/skipfish/pkg-plist
index 0568983ca6f2..6f445c85ea0d 100644
--- a/security/skipfish/pkg-plist
+++ b/security/skipfish/pkg-plist
@@ -25,7 +25,7 @@ bin/skipfish
%%DATADIR%%/assets/sf_name.png
%%DATADIR%%/dictionaries/README-FIRST
%%DATADIR%%/dictionaries/complete.wl
-%%DATADIR%%/dictionaries/default.wl
+%%DATADIR%%/dictionaries/medium.wl
%%DATADIR%%/dictionaries/extensions-only.wl
%%DATADIR%%/dictionaries/minimal.wl
@dirrm %%DATADIR%%/dictionaries