Commit graph

19 commits

Author SHA1 Message Date
joerg
a627d8f327 libfetch-2.16:
- only include openssl if the openssl option is present
- include arpa/inet.h to get ntohl and friends on older platforms like
  Interix
- use new netdb.h compat code from libnbcompat
- include inttypes.h only when present
- don't name local variables err, Interix has a symbol like that in
  default namespace
- allow fetch_read to do short read and do more intelligent buffering
  for header processing; effectively don't do a system call for each
  byte read
2008-10-06 12:58:29 +00:00
joerg
a53176bf0e libfetch-2.15:
Rewrite errlist processing to include the full message, not just the
first word.
2008-08-21 15:22:45 +00:00
joerg
adacbef13f libfetch-2.14:
Fix brain dead error in the quoting of unsafe characters.
2008-05-09 00:39:06 +00:00
joerg
634d70f1f6 libfetch-2.13:
Add a function to turn struct url back into a string.
2008-04-25 19:59:30 +00:00
joerg
d332b7e9e2 libfetch-2.12:
Make function naming consistent before external code depend on it.
Update man page.
2008-04-25 16:25:25 +00:00
joerg
db63178315 libfetch-2.11:
Implement full quoting support in FILE and FTP protocols.
2008-04-24 10:21:33 +00:00
joerg
bda08cd402 libfetch-2.4.10:
Start URL quoting cleanup.  All URLs are now quoted correctly on parsing
and when appending URLs.  URLs without schema and starting with slash are
considered to be file:// URLs.
2008-04-24 07:55:00 +00:00
joerg
6dff822714 libfetch-2.9:
Add fetch_extract_filename to extract the unquoted filename of a URL.
2008-04-21 17:15:31 +00:00
joerg
e3a9871309 libfetch-2.8:
Fix a number of small bugs introduced in the last version.
2008-04-21 13:09:57 +00:00
joerg
70e1a5075b libfetch-2.7:
Add fetchCopyURL.
2008-04-20 15:29:26 +00:00
joerg
b4415d1d0b libfetch-2.6:
Change fetchList API to always return lists of full URLs.
2008-04-19 14:49:23 +00:00
joerg
b05cf0700b libfetch-2.5:
Add basic index parsing support for HTTP based on the ftpio.c code in
pkg_install. Permission to use the 3-clause BSD license from Thomas
Klausner in private mail.
2008-04-18 21:13:10 +00:00
joerg
1326c4fa04 Use nbcompat. 2008-04-16 01:01:50 +00:00
joerg
e3fc6a6999 Force depend target to run, bootstrap-mk-files doesn't have the
necessary logic for explicit dependencies as the NetBSD rules have.
Should fix build on Solaris and Darwin.
2008-04-08 11:45:49 +00:00
joerg
d3b6313e66 libfetch-2.4: FTP directory listenings. 2008-04-05 02:42:53 +00:00
joerg
472cf496e0 On second thought, don't filter out files with . Bump to 2.3. 2008-04-04 23:19:16 +00:00
joerg
5f8b22911d libfetch-2.2:
Add interface to glob a directory.
2008-04-04 22:37:28 +00:00
joerg
586f71a7c1 libfetch-2.1:
- remove most of the debug junk
- fix a buffer overflow in the config parser
- replace stdio usage with a simple abstract IO framework. currently
without explicit buffering, but that might be added later
2008-04-02 15:33:14 +00:00
joerg
9cf9dd43d1 Import libfetch-2.0, based on the FreeBSD version of today with a number
of smaller changes to not depend on sys/param.h. This library is
intended to replace the tnftp dependency in pkg_install.
2008-02-07 01:48:22 +00:00