summaryrefslogtreecommitdiff
path: root/net/libfetch/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2019-08-27libfetch-2.39: Improve date parsingjoerg1-2/+2
2017-09-07Follow a redirect.wiz1-3/+2
2016-10-27Add the necessary dependencies for safe concurrent build.joerg1-3/+1
2016-10-21libfetch-2.38: Support proxies for https URLs. From FreeBSD.jperkin1-2/+2
2016-10-20libfetch-2.37: Always run SSL_read first for SSL connections. It willjoerg1-3/+2
signal whether more input (or output) is needed, update the poll mask accordingly.
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-2/+2
2016-02-08Do not use TCP_NOPUSH on Darwin, it adds a 5 second delay after the initialjperkin1-2/+2
handshake. Bump PKGREVISION.
2014-08-28Ensure we do not try to regenerate the catpage. Fixes occasional timingjperkin1-1/+2
issues where nroff isn't native.
2014-06-11Revert bad _GNU_SOURCE change.joerg1-3/+1
2014-06-07Define _GNU_SOURCE by default for glibc-based systems (vasprintf(3)).cheusov1-1/+3
This fixes bootstrap failure on AltLinux.
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-1/+2
2014-01-07libfetch-2.36: Support Server Name Identication.joerg1-2/+2
From Michael Gmelin via FreeBSD.
2014-01-07Apply some explicit int casts for size_t format string arguments.joerg1-3/+2
2013-07-22Add -D_FILE_OFFSET_BITS=64 to the largefile flags.jperkin1-2/+2
Bump PKGREVISION.
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-1/+2
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-21Revert 1.43.joerg1-4/+1
2012-10-15Revert bogus warning flags.joerg1-6/+1
2012-10-09libfetch-2.34:sbd1-2/+5
On Linux libfetch needs to be built with '-fPIC' so that it can be used to build shared libraries. (Fixes databases/openldap-client build.)
2012-10-07net/libfetch: Fix for gcc4.7marino1-1/+6
When building with gcc4.7, libfetch fails with the following error: ftp.c: In function 'unmappedaddr': ftp.c:149:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] cc1: all warnings being treated as errors *** Error code 1 The code is intentionally grouping an array of four uint8_t bytes into a uint32_t word. Add -Wno-strict-aliasing in makefile to fix build in gcc4.7.
2011-12-17If using fetch in FETCH_USING then fetch and libfetch cannot use checkperms.sbd1-1/+6
2010-08-20libfetch-2.33:joerg1-2/+2
Don't leak FTP connections on errors in fetch or if only stat is requested. Reported via Xavier Chantry.
2010-06-13libfetch-2.32:joerg1-2/+2
Fix NULL dereference after failed calloc call. From Tavian Barnes.
2010-03-21libfetch-2.31:joerg1-2/+2
PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs if the home directory is not the root directory. Remember the current directory the first time a CWD / CDUP has to be issued. Use the document as full URL if the URL started with two / (quoted or not), otherwise append it to the initial directory.
2010-01-23libfetch-2.30:joerg1-2/+2
HTTP keep-alive support
2010-01-23libfetch-2.29:joerg1-2/+2
Push \r\n up to the users of fetch_putln and remove it. Use send instead of write(v) to avoid SIGPIPE.
2010-01-22libfetch-2.28:joerg1-2/+2
Revamp FTP connection cache. Move it to the common layer to be later shared with HTTP (for persistent connection). The application controls how much caching is desired. Drop the reference counting on connections. Add a callback when the cached connection is dropped due to LRU. Over all, this allows more than one session cached per host and sessions cached to different servers.
2010-01-11libfetch-2.27:joerg1-2/+2
The connection sharing didn't handle the case of active transfers correctly and tried to close the connection in that case (PR 42607). Correctly check if there is a transfer going on and just leave the connection alone in that case.
2009-10-15libfetch-2.26:joerg1-2/+2
- Add support to aggressively cache directory listenings, useful for HTTP - Avoid leaking memory in error cases. From Xavier from Arch Linux.
2009-08-16libfetch-2.24:joerg1-2/+2
Fix a bug in the line reading optimisation, which could get confused if the byte following the new line is a NUL. Adresses Arch Linux problem report #15845. Do not reuse a FTP connection if there is currently a transfer active. Some FTP servers hang on the NOOP command. Reported by Manuel Bouyer.
2009-08-11It's not MAKE_JOBS safe.hasso1-1/+3
2009-08-06Drop PKGREVISION and bump to libfetch-2.24 instead. (in-tree package)tnn1-3/+2
2009-08-06Bump the PKGREVISION for ftp.c changetnn1-1/+2
2009-05-19Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENTwiz1-2/+2
block). Uncomment some commented out LICENSE lines while here.
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-3/+1
2009-03-10libfetch-2.23:joerg1-2/+2
Don't leak file descriptors when iterating local directories or checking local files for if-modified-since.
2009-02-05libfetch-2.22:joerg1-2/+2
Allow overriding fetchRestartCalls from signal handlers by making it volatile.
2009-02-05libfetch-2.21:joerg1-2/+2
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.
2008-11-04libfetch-2.20:joerg1-2/+2
Allow HTTP basic auth to be specified in the URL. Also allow : in the password while here.
2008-10-10libfetch-2.19:joerg1-2/+2
Fix a conditional in my quoting code to not be always true. This makes ~ be quoted as %7e as intended.
2008-10-08libfetch-2.18:joerg1-2/+2
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.
2008-10-06libfetch-2.17:joerg1-2/+2
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.
2008-10-06libfetch-2.16:joerg1-3/+2
- 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-08-21libfetch-2.15:joerg1-2/+2
Rewrite errlist processing to include the full message, not just the first word.
2008-05-09libfetch-2.14:joerg1-2/+2
Fix brain dead error in the quoting of unsafe characters.
2008-04-25libfetch-2.13:joerg1-2/+2
Add a function to turn struct url back into a string.
2008-04-25libfetch-2.12:joerg1-2/+2
Make function naming consistent before external code depend on it. Update man page.
2008-04-24libfetch-2.11:joerg1-2/+2
Implement full quoting support in FILE and FTP protocols.
2008-04-24libfetch-2.4.10:joerg1-2/+2
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-21libfetch-2.9:joerg1-2/+2
Add fetch_extract_filename to extract the unquoted filename of a URL.