joerg
9ef2a970b7
libfetch-2.39: Improve date parsing
2019-08-27 19:24:04 +00:00
wiz
23a83de8b4
libfetch: add FALLTHROUGH comment for gcc 7
...
To fix pkg_install build.
2019-02-11 10:34:36 +00:00
rillig
17e39f419d
Fix indentation in buildlink3.mk files.
...
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
6dbf2b6475
Follow a redirect.
2017-09-07 07:54:25 +00:00
joerg
402f70c7a7
Add the necessary dependencies for safe concurrent build.
2016-10-27 10:05:38 +00:00
jperkin
d67bfc310a
libfetch-2.38: Support proxies for https URLs. From FreeBSD.
2016-10-21 11:51:18 +00:00
joerg
f61b804efd
libfetch-2.37: Always run SSL_read first for SSL connections. It will
...
signal whether more input (or output) is needed, update the poll mask
accordingly.
2016-10-20 21:25:57 +00:00
joerg
ca913b684a
Convert fetch_read from select(2) to poll(2) based sleep.
2016-10-20 21:22:18 +00:00
joerg
e9d9d4278d
Only set the cached flag when the connection is actually cached. New
...
connections should not have it set. This changes the behavior of
timeouts on the first read.
2016-10-20 21:21:25 +00:00
abhinav
dfe3b89162
Add the missing parameter "const char *pattern" to the fetchList* functions.
...
From Julian Fagir in PR lib/45579
2016-05-31 18:02:36 +00:00
jperkin
17661ff9a5
Bump PKGREVISION for security/openssl ABI bump.
2016-03-05 11:27:40 +00:00
jperkin
05a1c09ea7
Do not use TCP_NOPUSH on Darwin, it adds a 5 second delay after the initial
...
handshake. Bump PKGREVISION.
2016-02-08 13:27:41 +00:00
jperkin
edcaaa2693
When the openssl option is enabled, ensure that the openssl libraries
...
required by the resulting libfetch.a are pulled in for dependencies.
2015-08-13 21:49:47 +00:00
jperkin
7d9ad47aa5
Ensure we do not try to regenerate the catpage. Fixes occasional timing
...
issues where nroff isn't native.
2014-08-28 10:46:24 +00:00
joerg
b2772d43f0
Revert bad _GNU_SOURCE change.
2014-06-11 13:12:12 +00:00
obache
81fd74dad9
Set CHECK_BUILTIN properly for builtin check.
2014-06-09 23:42:57 +00:00
cheusov
6a70ba9b3f
Define _GNU_SOURCE by default for glibc-based systems (vasprintf(3)).
...
This fixes bootstrap failure on AltLinux.
2014-06-07 19:22:51 +00:00
tron
73d05e2276
Recursive PKGREVISION bump for OpenSSL API version bump.
2014-02-12 23:17:32 +00:00
joerg
f2ed2ac6a6
Pass URL to fetch_ssl to fix build and add a cast for some OpenSSL
...
constloss.
2014-01-08 20:25:34 +00:00
joerg
d67d75e529
libfetch-2.36: Support Server Name Identication.
...
From Michael Gmelin via FreeBSD.
2014-01-07 23:30:03 +00:00
joerg
5839ebc844
Apply some explicit int casts for size_t format string arguments.
2014-01-07 23:25:12 +00:00
joerg
20fb046c57
Add explicit sh invocation in case the checkout is missing the
...
executable bit on errlist.sh.
2013-10-03 01:25:51 +00:00
ryoon
03bfcd7316
Fix build under GNU/kFreeBSD.
2013-07-26 10:21:41 +00:00
jperkin
a4064761fd
Add -D_FILE_OFFSET_BITS=64 to the largefile flags.
...
Bump PKGREVISION.
2013-07-22 16:14:25 +00:00
wiz
b6d125ee08
Use Mt for email addresses.
2013-07-20 21:50:52 +00:00
rodent
aa1275dbab
"This line belongs inside the .ifdef block."
2013-04-06 13:46:33 +00:00
obache
997574bf11
Cygwin also missing sin_len in sockaddr_in.
2013-02-10 12:33:22 +00:00
jperkin
becd113253
PKGREVISION bumps for the security/openssl 1.0.1d update.
2013-02-06 23:20:50 +00:00
asau
e059e7e469
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
2012-10-23 17:18:07 +00:00
joerg
7e851cb392
Revert 1.43.
2012-10-21 09:00:16 +00:00
joerg
732c8e24f0
Use s6_addr32 if present as macro and fallback to memcpy otherwise.
2012-10-15 22:43:24 +00:00
joerg
c6ec1b5a05
Revert bogus warning flags.
2012-10-15 21:27:08 +00:00
sbd
301411fc5e
libfetch-2.34:
...
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-09 02:48:04 +00:00
marino
b042d71cd2
net/libfetch: Fix for gcc4.7
...
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-10-07 07:23:21 +00:00
joerg
b101354800
Define LIBFETCH_PRINTFLIKE for !gcc
2012-04-26 09:56:16 +00:00
joerg
1aa687331a
Fix the last commit to not break bootstrap.
2012-04-07 15:27:21 +00:00
wiz
fb21057fa8
Fix build with clang.
2012-04-07 15:09:23 +00:00
sbd
cf4a5b3a63
If using fetch in FETCH_USING then fetch and libfetch cannot use checkperms.
2011-12-17 00:12:29 +00:00
joerg
c28eb2bda8
More help for stupid glibc headers.
2011-11-08 18:02:27 +00:00
tcort
a79418a202
Do not define HAVE_SA_LEN when __minix is defined per pkg/45039
2011-11-06 20:03:50 +00:00
marino
7e387c1361
PR#45210: Fix pkgsrc bootstrap with gcc 4.6
...
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-10-02 19:15:34 +00:00
joerg
9dbae8a995
Be a bit nicer to broken GCC array boundary checks.
2011-08-21 16:28:27 +00:00
agc
39c6b0bb03
Handle the case where tm_year is a long variable, from Benny Siegert
...
and Thorsten Glaser. Part of the MirBSD support changes.
2011-01-23 18:37:31 +00:00
joerg
2878668528
libfetch-2.33:
...
Don't leak FTP connections on errors in fetch or if only stat is
requested. Reported via Xavier Chantry.
2010-08-20 17:56:49 +00:00
joerg
03e26a5ff9
libfetch-2.32:
...
Fix NULL dereference after failed calloc call. From Tavian Barnes.
2010-06-13 21:38:08 +00:00
joerg
b49a4476a5
Regen.
2010-04-22 14:11:16 +00:00
joerg
aa3f206f83
libfetch-2.31:
...
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-03-21 16:48:42 +00:00
joerg
00f142a763
Fix RCS ID.
2010-02-24 22:00:51 +00:00
joerg
760dc80ce2
Fix a variable reference in TCP_NOPUSH case.
2010-01-24 19:10:35 +00:00
joerg
90c546c90e
Use the hard-core approach of killing SIGPIPE explicitly on
...
platforms that don't have MSG_NOSIGNAL like Solaris.
2010-01-24 16:54:23 +00:00