7268de7a17
- 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$. |
||
---|---|---|
.. | ||
fetch.3 | ||
fetch.c | ||
fetch.h | ||
file.c | ||
ftp.c | ||
ftp.errors | ||
http.c | ||
http.errors | ||
Makefile | ||
README |
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)