freebsd-dev/lib/libfetch
Bruce Evans 90152d9d21 Made this actually work when there's an object directory:
- replaced bogus dependencies of distribution sources on generated
  sources by the same ones that bsd.lib.mk would generate if it knew
  all the sources.  We shoot ourself in the foot by not naming the
  generated (included) sources *.h, so we can just put the generated
  sources in SRCS.
- replaced -I${.CURDIR} by `-I.'.  Here `.' is an alias for ${.OBJDIR}.
  -I${.CURDIR} didn't do anything, since ${.CURDIR} is the default in
  all cases here (it would be necessary for ""-style includes made from
  sources in ${.OBJDIR}.

Don't use `+=' for setting CLEANFILES for the first time.

Added $Id$.
1998-08-17 20:39:09 +00:00
..
fetch.3 Imported libfetch into the tree. It compiles, but there's still some 1998-07-09 16:52:44 +00:00
fetch.c Commit a bunch of patches that have been accumulating: 1998-08-17 09:30:19 +00:00
fetch.h Commit a bunch of patches that have been accumulating: 1998-08-17 09:30:19 +00:00
file.c Imported libfetch into the tree. It compiles, but there's still some 1998-07-09 16:52:44 +00:00
ftp.c Commit a bunch of patches that have been accumulating: 1998-08-17 09:30:19 +00:00
ftp.errors Imported libfetch into the tree. It compiles, but there's still some 1998-07-09 16:52:44 +00:00
http.c Commit a bunch of patches that have been accumulating: 1998-08-17 09:30:19 +00:00
http.errors Imported libfetch into the tree. It compiles, but there's still some 1998-07-09 16:52:44 +00:00
Makefile Made this actually work when there's an object directory: 1998-08-17 20:39:09 +00:00
README Commit a bunch of patches that have been accumulating: 1998-08-17 09:30:19 +00:00

This is the new fetch(3) library, which is to replace the ftpio(3)
library and provide a new, unified backend for all fetch(1),
pkg_add(1) and sysinstall(8).

Note that this is very much work in progress. It compiles (with a few
warnings), but there is much left to be implemented. Amongst other
items:

  * The man page needs work. Really. I mean it. Now.

  * HTTP authentication doesn't work. I'm not sure if I bungled http.c
    or fubared base64.c (which was ripped from MIT fetch(1)).

  * The library needs a decent interface for reporting errors. I've
    started on something (sending back an error code in the url_t that
    was sent in) but we're Not There (tm) yet.

Comments, patches etc. of all kinds are welcome, but please don't
commit anything without talking to me first.

		-- Dag-Erling C. Smørgrav (des@FreeBSD.org)