summaryrefslogtreecommitdiff
path: root/www/httpgrabber/files
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-06 18:03:15 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-06 18:03:15 +0000
commit18469d84a701983e67f48f78db015501ddcbd665 (patch)
treea98d1dd2d69ff51016d1785faf4797cd608ae1b9 /www/httpgrabber/files
parentAdd another MASTER_SITE. (diff)
Add httpgrabber-1.0, a HTTP network traffic grabber and extractor
PR: 30358 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes: svn path=/head/; revision=49682
Diffstat (limited to 'www/httpgrabber/files')
-rw-r--r--www/httpgrabber/files/patch-Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/www/httpgrabber/files/patch-Makefile b/www/httpgrabber/files/patch-Makefile
new file mode 100644
index 000000000000..0c7e403354b6
--- /dev/null
+++ b/www/httpgrabber/files/patch-Makefile
@@ -0,0 +1,34 @@
+$FreeBSD$
+
+--- Makefile.orig Wed Sep 5 05:35:02 2001
++++ Makefile Tue Nov 6 12:55:33 2001
+@@ -2,9 +2,9 @@
+ # $Id: Makefile,v 1.3 2001/09/05 09:31:57 mavetju Exp $
+ #
+
+-CC=gcc
+-CFLAGS=-g -Wall -I/usr/local/include -c
+-LFLAGS=-g -Wall -L/usr/local/lib
++CC?=gcc
++CFLAGS+=-g -Wall -I${PREFIX}/include -c
++LFLAGS=-g -Wall -L${PREFIX}/lib
+ LIBS=-lngrep -lpcap
+
+ all: httpgrabber
+@@ -16,12 +16,12 @@
+ $(CC) $(CFLAGS) -o httpgrabber.o httpgrabber.c
+
+ install: httpgrabber httpgrabber.8
+- install -c -m 755 -o root httpgrabber /usr/local/bin
+- install -c -m 755 -o root httpgrabber.8 /usr/local/man/man8
++ install -c -m 755 -o root httpgrabber ${PREFIX}/bin
++ install -c -m 755 -o root httpgrabber.8 ${PREFIX}/man/man8
+
+ uninstall:
+- rm /usr/local/bin/httpgrabber
+- rm /usr/local/man/man8/httpgrabber.8
++ rm ${PREFIX}/bin/httpgrabber
++ rm ${PREFIX}/man/man8/httpgrabber.8
+
+ clean:
+ rm -rf httpgrabber httpgrabber.o httpgrabber.core