From 444cbb04eefcb9a4da4e2a366541c4d02d74938d Mon Sep 17 00:00:00 2001 From: wollman Date: Thu, 30 Jan 1997 21:43:44 +0000 Subject: Here is my long-threatened revamping of fetch. Jean-Marc probably won't recognize it any more. This makes the following significant changes: - The main body of the program doesn't know a thing about URIs, HTTP, or FTP. This makes it possible to easily plug in other protocols. (The next revision will probably be able to dynamically add new recognizers.) - There are no longer arbitrary timeouts for the protocols. If you want to set one for yourself, use the environment variables. - FTP proxies are now supported (if I implemented it right). - The HTTP implementation is much more complete, and can now do restarts, preserve modtimes, and mrun in mirror mode. It's not yet up to 1.1, but it's getting there. - Transaction TCP is now used for sending HTTP requests. The HTTP/1.1 syntax for requesting that the connection be closed after one request is implemented. In all of this, I have doubtless broken somebody. Please test it and tell me about the bugs. --- usr.bin/fetch/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/fetch/Makefile') diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile index 6e86642..31479bd 100644 --- a/usr.bin/fetch/Makefile +++ b/usr.bin/fetch/Makefile @@ -1,9 +1,9 @@ PROG = fetch -SRCS = main.c +SRCS = file.c ftp.c http.c main.c util.c uri.c -CFLAGS+= -Wall +CFLAGS+= -Wall -Wwrite-strings -Wmissing-prototypes -DPADD= ${LIBFTPIO} -LDADD= -lftpio +DPADD= ${LIBFTPIO} ${LIBMD} +LDADD= -lftpio -lmd .include -- cgit v1.1