summaryrefslogtreecommitdiffstats
path: root/www/htdump/files
diff options
context:
space:
mode:
authordannyboy <dannyboy@FreeBSD.org>2001-03-08 22:01:06 +0000
committerdannyboy <dannyboy@FreeBSD.org>2001-03-08 22:01:06 +0000
commit54f343bfcdec913a7939db8b70c8de3d044eb2d4 (patch)
tree890f550af5e37dbd8cae2b90efb6716db4653504 /www/htdump/files
parentb84af273e4c16cbe0b40ae460da8199d713c02fa (diff)
downloadFreeBSD-ports-54f343bfcdec913a7939db8b70c8de3d044eb2d4.zip
FreeBSD-ports-54f343bfcdec913a7939db8b70c8de3d044eb2d4.tar.gz
Add htdump 0.9x, a tool to retrieve WWW data.
PR: 25238 Submitted by: Maxime Henrion (mux@qualys.com)
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 0000000..f95abd7
--- /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
OpenPOWER on IntegriCloud