Age | Commit message (Collapse) | Author | Files | Lines |
|
block). Uncomment some commented out LICENSE lines while here.
|
|
|
|
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
|
|
|
|
Don't leak file descriptors when iterating local directories or checking
local files for if-modified-since.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allow overriding fetchRestartCalls from signal handlers by making it
volatile.
|
|
Add support for conditional GET using the 'i' flag. Inspired by
the HTTP support for the same feature in FreeBSD by Murray Stokely, but
mostly rewritten and extended to work for all protocols.
|
|
|
|
Allow HTTP basic auth to be specified in the URL. Also allow : in the
password while here.
|
|
Fix a conditional in my quoting code to not be always true.
This makes ~ be quoted as %7e as intended.
|
|
Change FTP backend to use passive mode by default and fallback to active
mode on syntax errors as discussed with and suggested by Luke Mewburn.
Retire 'p' now and introduce 'a' flag to get the old default behavior.
|
|
possible to trigger due to early EOF or timeouts.
|
|
Fix line buffering to not drop content after the line we are interested
in. This magically worked for a local tnftpd that was only sending a
normal one line return message due to the challenge response protocol
always having the desired size. With the patch fetch_read will process
the remaining part of the buffer and fetch_getln will remember how much
of the data it was actually interested in, so it will now process the
complete output again.
|
|
|
|
- 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
|
|
Rewrite errlist processing to include the full message, not just the
first word.
|
|
|
|
Fix brain dead error in the quoting of unsafe characters.
|
|
as some headers are already included. Define _GNU_SOURCE early...
|
|
Improve HTML output.
|
|
|
|
Add a function to turn struct url back into a string.
|
|
Make function naming consistent before external code depend on it.
Update man page.
|
|
|
|
Implement full quoting support in FILE and FTP protocols.
|
|
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.
|
|
|
|
|
|
|
|
Add fetch_extract_filename to extract the unquoted filename of a URL.
|
|
Fix a number of small bugs introduced in the last version.
|
|
Add fetchCopyURL.
|
|
Change fetchList API to always return lists of full URLs.
|
|
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.
|
|
|
|
|
|
|
|
|
|
necessary logic for explicit dependencies as the NetBSD rules have.
Should fix build on Solaris and Darwin.
|
|
|
|
|
|
|
|
Note that using glob patterns that match directories can result in
recursive expansion, e.g. with tnftpd.
|