summaryrefslogtreecommitdiff
path: root/www/htdump/files
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2001-03-08 22:01:06 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2001-03-08 22:01:06 +0000
commit0ea5aff8243f4ba705dfcb82e1bb6e4b9ff26419 (patch)
treef5b9f2e10b60d9140d03fb6a9112a85c85180466 /www/htdump/files
parentupdate to 3.0b2pl18. (diff)
Add htdump 0.9x, a tool to retrieve WWW data.
PR: 25238 Submitted by: Maxime Henrion (mux@qualys.com)
Notes
Notes: svn path=/head/; revision=39289
Diffstat (limited to 'www/htdump/files')
-rw-r--r--www/htdump/files/patch-aa39
1 files changed, 39 insertions, 0 deletions
diff --git a/www/htdump/files/patch-aa b/www/htdump/files/patch-aa
new file mode 100644
index 000000000000..f95abd76ce49
--- /dev/null
+++ b/www/htdump/files/patch-aa
@@ -0,0 +1,39 @@
+--- Makefile.orig Tue Dec 19 16:26:47 2000
++++ Makefile Wed Feb 21 00:33:15 2001
+@@ -5,10 +5,11 @@
+ #
+ #
+
+-CFLAGS = -O4 -m486 -Wall #-funsigned-char -Wshadow -Wmissing-prototypes -Wmissing-declarations -Winline
++CFLAGS = -O4 -Wall -I${PREFIX}/include #-funsigned-char -Wshadow -Wmissing-prototypes -Wmissing-declarations -Winline
+ PROGS = htdump
+ LFLAGS = -s #-static
+ CC = cc
++LDFLAGS += -L${PREFIX}/lib
+
+ # Nothing should have to change beneath this line
+
+@@ -22,19 +23,19 @@
+
+ htdump: $(OBJS) socket.o
+ rm -f htdump
+- $(CC) $(LFLAGS) -o htdump $(OBJS) socket.o
++ $(CC) $(LFLAGS) -o htdump $(OBJS) socket.o ${LDFLAGS} -lgnugetopt
+
+ ssl: $(OBJS) socket-ssl.o
+ rm -f htdump
+- $(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o -lssl -lcrypto -L/usr/local/ssl/lib
++ $(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o ${LDFLAGS} -lssl -lcrypto -lgnugetopt
+
+-$(OBJS): %.o: %.c $(HDRS)
++$(OBJS): $(HDRS)
+
+ socket.o: socket.c $(HDRS)
+ $(CC) $(CFLAGS) -c socket.c
+
+ socket-ssl.o: socket.c socket-ssl.c $(HDRS)
+- $(CC) $(CFLAGS) -c socket-ssl.c -I /usr/local/ssl/include
++ $(CC) $(CFLAGS) -c socket-ssl.c
+
+ install: $(PROGS)
+ cp htdump /usr/local/bin