1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/lib/libfetch
Dag-Erling Smørgrav ecc9135299 Commit a bunch of patches that have been accumulating:
- Fix the README to reflect the new status of the ftp code.
 - Change tons of 'if (xxx < 0)' to 'if (xxx == -1)'
 - Add two new interface functions
 - Fix the Makefile so it actually works (yay!)

Now the manpage is lagging even further behind... :( Next on the todo
list is to clean up the http code.
1998-08-17 09:30:19 +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 Commit a bunch of patches that have been accumulating: 1998-08-17 09:30:19 +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)