summaryrefslogtreecommitdiff
path: root/net/libfetch
AgeCommit message (Collapse)AuthorFilesLines
2015-08-13When the openssl option is enabled, ensure that the openssl librariesjperkin1-2/+3
required by the resulting libfetch.a are pulled in for dependencies.
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.joerg3-9/+3
2014-06-09Set CHECK_BUILTIN properly for builtin check.obache1-1/+3
2014-06-07Define _GNU_SOURCE by default for glibc-based systems (vasprintf(3)).cheusov3-3/+9
This fixes bootstrap failure on AltLinux.
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron2-3/+4
2014-01-08Pass URL to fetch_ssl to fix build and add a cast for some OpenSSLjoerg3-7/+7
constloss.
2014-01-07libfetch-2.36: Support Server Name Identication.joerg2-3/+11
From Michael Gmelin via FreeBSD.
2014-01-07Apply some explicit int casts for size_t format string arguments.joerg4-10/+11
2013-10-03Add explicit sh invocation in case the checkout is missing thejoerg1-3/+3
executable bit on errlist.sh.
2013-07-26Fix build under GNU/kFreeBSD.ryoon1-2/+6
2013-07-22Add -D_FILE_OFFSET_BITS=64 to the largefile flags.jperkin2-4/+4
Bump PKGREVISION.
2013-07-20Use Mt for email addresses.wiz1-7/+7
2013-04-06"This line belongs inside the .ifdef block."rodent1-3/+3
2013-02-10Cygwin also missing sin_len in sockaddr_in.obache1-2/+2
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin2-2/+4
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-15Use s6_addr32 if present as macro and fallback to memcpy otherwise.joerg1-2/+6
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.
2012-04-26Define LIBFETCH_PRINTFLIKE for !gccjoerg1-1/+3
2012-04-07Fix the last commit to not break bootstrap.joerg3-6/+11
2012-04-07Fix build with clang.wiz3-5/+7
2011-12-17If using fetch in FETCH_USING then fetch and libfetch cannot use checkperms.sbd1-1/+6
2011-11-08More help for stupid glibc headers.joerg1-2/+3
2011-11-06Do not define HAVE_SA_LEN when __minix is defined per pkg/45039tcort1-2/+2
2011-10-02PR#45210: Fix pkgsrc bootstrap with gcc 4.6marino1-5/+4
Libfetch build failure with gcc 4.6 is due to the a couple of assigned variables not getting used. This patch allows systems like Debian and OpenIndiana to bootstrap pkgsrc.
2011-08-21Be a bit nicer to broken GCC array boundary checks.joerg1-12/+14
2011-01-23Handle the case where tm_year is a long variable, from Benny Siegertagc2-7/+7
and Thorsten Glaser. Part of the MirBSD support changes.
2010-08-20libfetch-2.33:joerg2-3/+8
Don't leak FTP connections on errors in fetch or if only stat is requested. Reported via Xavier Chantry.
2010-06-13libfetch-2.32:joerg2-3/+4
Fix NULL dereference after failed calloc call. From Tavian Barnes.
2010-04-22Regen.joerg1-3/+17
2010-03-21libfetch-2.31:joerg4-27/+77
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-02-24Fix RCS ID.joerg1-1/+1
2010-01-24Fix a variable reference in TCP_NOPUSH case.joerg1-2/+2
2010-01-24Use the hard-core approach of killing SIGPIPE explicitly onjoerg1-1/+20
platforms that don't have MSG_NOSIGNAL like Solaris.
2010-01-23libfetch-2.30:joerg2-12/+71
HTTP keep-alive support
2010-01-23libfetch-2.29:joerg5-111/+54
Push \r\n up to the users of fetch_putln and remove it. Use send instead of write(v) to avoid SIGPIPE.
2010-01-23Remove is_active.joerg3-7/+3
2010-01-22Fix typo in function names, bump date.wiz1-4/+4
2010-01-22libfetch-2.28:joerg8-114/+181
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-17Recursive PKGREVISION bump for jpeg update to 8.wiz1-1/+2
2010-01-11libfetch-2.27:joerg2-4/+4
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:joerg8-30/+169
- 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:joerg4-11/+26
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-11Fix some lint warnings about G/C unused variables and changing ajoerg2-14/+6
variable type to match the return type of fetch_read.
2009-08-06Drop PKGREVISION and bump to libfetch-2.24 instead. (in-tree package)tnn1-3/+2