summaryrefslogtreecommitdiff
path: root/net/libfetch
AgeCommit message (Collapse)AuthorFilesLines
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
2009-08-06Bump the PKGREVISION for ftp.c changetnn1-1/+2
2009-08-06Fix strict aliasing issue which GCC 4.4 complained about.tnn1-41/+40
While we know that "struct sockaddr_storage" has been engineered to alias to all the sockaddr structs, the compiler does not know about this. Thus, code like this may be unsafe to use: struct sockaddr_storage ss; struct sockaddr_in *sin = &ss; sin->sin_port = 0; /* dereferencing here breaks ISO C aliasing rules */ A workaround is to wrap the struct in a union, e.g: union anonymous { struct sockaddr_storage ss; struct sockaddr_in sin; } u; u.sin.sin_port = 0; -- Approved by: joerg
2009-06-22Correctly regen the cat page.joerg1-176/+484
2009-06-22Regen cat page. Helps Solaris.joerg1-484/+176
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-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
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.
2009-03-16Improve markup.joerg1-3/+3
2009-03-10libfetch-2.23:joerg2-3/+6
Don't leak file descriptors when iterating local directories or checking local files for if-modified-since.