mirror of https://github.com/lukechilds/node.git
Browse Source
Updated with manual config for Android Updated with automatic for sunos, *bsd, darwin, linux, aix PR-URL: https://github.com/nodejs/node/pull/15378 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>v9.x-staging
Rod Vagg
8 years ago
committed by
Ruben Bridgewater
26 changed files with 577 additions and 547 deletions
@ -0,0 +1,15 @@ |
|||
# c-ares license |
|||
|
|||
Copyright (c) 2007 - 2016, Daniel Stenberg with many contributors, see AUTHORS |
|||
file. |
|||
|
|||
Copyright 1998 by the Massachusetts Institute of Technology. |
|||
|
|||
Permission to use, copy, modify, and distribute this software and its |
|||
documentation for any purpose and without fee is hereby granted, provided that |
|||
the above copyright notice appear in all copies and that both that copyright |
|||
notice and this permission notice appear in supporting documentation, and that |
|||
the name of M.I.T. not be used in advertising or publicity pertaining to |
|||
distribution of the software without specific, written prior permission. |
|||
M.I.T. makes no representations about the suitability of this software for any |
|||
purpose. It is provided "as is" without express or implied warranty. |
@ -0,0 +1,26 @@ |
|||
# *************************************************************************** |
|||
# * Project: c-ares |
|||
# * |
|||
# *************************************************************************** |
|||
# awk script which fetches c-ares version number and string from input |
|||
# file and writes them to STDOUT. Here you can get an awk version for Win32: |
|||
# http://www.gknw.net/development/prgtools/awk-20100523.zip |
|||
# |
|||
BEGIN { |
|||
while ((getline < ARGV[1]) > 0) { |
|||
sub("\r", "") # make MSYS gawk work with CRLF header input. |
|||
if (match ($0, /^#define ARES_COPYRIGHT "[^"]+"$/)) |
|||
copyright_string = substr($0, 25, length($0)-25) |
|||
else if (match ($0, /^#define ARES_VERSION_STR "[^"]+"$/)) |
|||
version_string = substr($3, 2, length($3)-2) |
|||
else if (match ($0, /^#define ARES_VERSION_MAJOR [0-9]+$/)) |
|||
version_major = $3 |
|||
else if (match ($0, /^#define ARES_VERSION_MINOR [0-9]+$/)) |
|||
version_minor = $3 |
|||
else if (match ($0, /^#define ARES_VERSION_PATCH [0-9]+$/)) |
|||
version_patch = $3 |
|||
} |
|||
print "LIBCARES_VERSION = " version_major "," version_minor "," version_patch |
|||
print "LIBCARES_VERSION_STR = " version_string |
|||
print "LIBCARES_COPYRIGHT_STR = " copyright_string |
|||
} |
@ -1,13 +1,15 @@ |
|||
c-ares |
|||
====== |
|||
|
|||
This package is based on ares 1.1.1 (written by Greg Hudson). I decided to |
|||
fork and release a separate project since the ares author didn't want the |
|||
improvements that were vital for our use of it. |
|||
This package is based on ares 1.1.1 (written by Greg Hudson). Daniel Stenberg |
|||
decided to fork and release a separate project since the original ares author |
|||
didn't want the improvements that were vital for our use of it. |
|||
|
|||
This package is dubbed 'c-ares' since I (Daniel Stenberg) wanted this for use |
|||
within the curl project (hence the letter C) and it makes a nice pun. Also, |
|||
c-ares is not API compatible with ares: a new name makes that more obvious to |
|||
the public. |
|||
This package is dubbed 'c-ares' since Daniel wanted this for use within the |
|||
curl project (hence the letter C) and it makes a nice pun. c-ares is not API |
|||
compatible with ares: a new name makes that more obvious to the public. |
|||
|
|||
The original libares was distributed at athena-dist.mit.edu:pub/ATHENA/ares. |
|||
The original libares was distributed at |
|||
ftp://athena-dist.mit.edu:pub/ATHENA/ares (which seems to not be alive |
|||
anymore). A local copy of the original ares package is kept here: |
|||
https://c-ares.haxx.se/download/ares-1.1.1.tar.gz |
|||
|
@ -1,35 +1,46 @@ |
|||
c-ares version 1.10.0 |
|||
c-ares version 1.12.0 |
|||
|
|||
Changes: |
|||
|
|||
o Added ares_create_query(), to be used instead of ares_mkquery() |
|||
o ares_inet_ntop() and ares_inet_pton() are now recognized c-ares functions |
|||
o api: add ARES_OPT_NOROTATE optmask value |
|||
|
|||
Bug fixes: |
|||
|
|||
o include the ares_parse_soa_reply.* files in the tarball |
|||
o read_udp_packets: bail out loop on bad sockets |
|||
o get_DNS_AdaptersAddresses: fix IPv6 parsing |
|||
o adig: perror() doesn't work for socket errors on windows |
|||
o ares_parse_aaaa_reply: fix memory leak |
|||
o setup_once.h: HP-UX <sys/socket.h> issue workaround |
|||
o configure: several fixes |
|||
o config-dos.h: define strerror() to strerror_s_() for High-C |
|||
o config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32 |
|||
o ares_build.h.dist: enhance non-configure GCC ABI detection logic |
|||
o ares.h: stricter CARES_EXTERN linkage decorations logic |
|||
o ares_cancel(): cancel requests safely |
|||
o protocol parsing: check input data stricter |
|||
o library init: be recursive, reference count inits/cleanups |
|||
o ares_parse_txt_reply: return a ares_txt_reply node for each sub-string |
|||
o ares_set_servers_csv: fixed IPv6 address parsing |
|||
o build: fix build on msvc11 |
|||
o CVE-2016-5180: ares_create_query single byte out of buffer write [4] |
|||
o configure: acknowledge --disable-tests [1] |
|||
o man pages: fix typos detected by Lintian |
|||
o test: add missing #includes for dns-proto.cc |
|||
o test: avoid in6addr_* constants |
|||
o test: Build with MinGW on AppVeyor |
|||
o Makefile.m32: add support for extra flags |
|||
o Makefile.m32: add support for CROSSPREFIX |
|||
o configure: check if tests can get built before enabled |
|||
o ares_library_cleanup: reset ares_realloc too |
|||
o ahost.c: add cast to fix C++ compile |
|||
o test: Only pass unused args to GoogleTest |
|||
o build: commonize MSVC version detection |
|||
o msvc_ver.inc: support Visual Studio 2015 Update 1, 2, 3 |
|||
o test: for AF_UNSPEC, return CNAME only for AAAA, but valid A record |
|||
o ares_getnameinfo: explicitly clear struct servent before use |
|||
o test: Update fuzzing function prototype |
|||
o init: fix nsort initialization |
|||
o test: add fuzzing check script to tests |
|||
o web: http => https |
|||
o read_tcp_data: remove superfluous NULL check |
|||
o LICENSE.md: add a stand-alone license file |
|||
o SECURITY.md: suggested "security process" for the project |
|||
o ares_init_options: only propagate init failures from options [2] |
|||
o headers: remove checks for and defines of variable sizes |
|||
o test: fix gMock to work with gcc >= 6.x [3] |
|||
|
|||
Thanks go to these friendly people for their efforts and contributions: |
|||
|
|||
Eugeny Gladkih, Yang Tse, Gisle Vanem, Guenter Knauf, Horatiu Popescu, |
|||
Alexander Klauer, Patrick Valsecchi, Paul Saab, Keith Shaw, |
|||
Alex Loukissas |
|||
Alexander Drachevskiy, Brad House, Chris Araman, Daniel Stenberg, |
|||
David Drysdale, Gregor Jasny, Svante Karlsson, Viktor Szakats |
|||
|
|||
References to bug reports and discussions on issues: |
|||
|
|||
Have fun! |
|||
[1] = https://github.com/c-ares/c-ares/issues/44 |
|||
[2] = https://github.com/c-ares/c-ares/issues/60 |
|||
[3] = https://github.com/google/googletest/issues/705#issuecomment-235067917 |
|||
[4] = https://c-ares.haxx.se/adv_20160929.html |
|||
|
Loading…
Reference in new issue