mirror of https://github.com/c-ares/c-ares.git
parent
f527554c7a
commit
b35fc6dc69
10 changed files with 44 additions and 1393 deletions
@ -1,7 +0,0 @@ |
||||
This file no longer holds the changelog. Now you can generate it yourself |
||||
like this: |
||||
|
||||
$ git log --pretty=fuller --no-color --date=short --decorate=full -1000 | |
||||
./git2changes.pl |
||||
|
||||
The older, manually edited, changelog is found in git named CHANGES.0 |
@ -1,21 +0,0 @@ |
||||
Major changes since: |
||||
* see the CHANGES file |
||||
|
||||
Major changes in release 1.1.1: |
||||
* ares should now compile as C++ code (no longer uses reserved word |
||||
"class"). |
||||
* Added SRV support to adig test program. |
||||
* Fixed a few error handling bugs in query processing. |
||||
|
||||
Major changes in release 1.1.0: |
||||
* Added ares_free_string() function so that memory can be freed in the |
||||
same layer as it is allocated, a desirable feature in some |
||||
environments. |
||||
* A few of the ares_dns.h macros are fixed to use the proper bitwise |
||||
operator. |
||||
* Fixed a couple of fenceposts fixed in ares_expand_name()'s |
||||
bounds-checking. |
||||
* In process_timeouts(), extract query->next before calling |
||||
next_server() and possibly freeing the query structure. |
||||
* Casted arguments to ctype macros casted to unsigned char, since not |
||||
all char values are valid inputs to those macros according to ANSI. |
@ -1,15 +0,0 @@ |
||||
c-ares |
||||
====== |
||||
|
||||
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 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 |
||||
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.org/download/ares-1.1.1.tar.gz |
@ -1,4 +0,0 @@ |
||||
TODO |
||||
==== |
||||
|
||||
Please see https://github.com/c-ares/c-ares/issues |
@ -1,29 +0,0 @@ |
||||
# *************************************************************************** |
||||
# * Project: c-ares |
||||
# * |
||||
# * Copyright (C) The c-ares project and its contributors |
||||
# * SPDX-License-Identifier: MIT |
||||
# *************************************************************************** |
||||
# 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,71 +0,0 @@ |
||||
#!/usr/bin/env perl |
||||
# Copyright (C) Daniel Stenberg |
||||
# SPDX-License-Identifier: MIT |
||||
|
||||
$version = $ARGV[0]; |
||||
|
||||
if($version eq "") { |
||||
print "Enter version number!\n"; |
||||
exit; |
||||
} |
||||
|
||||
if(!-f "include/ares.h") { |
||||
print "run this script in the ares source root dir\n"; |
||||
exit; |
||||
} |
||||
|
||||
my ($major, $minor, $patch)=split(/\./, $version); |
||||
|
||||
$major += 0; |
||||
$minor += 0; |
||||
$patch += 0; |
||||
|
||||
open(VER, "<include/ares_version.h") || |
||||
die "can't open include/ares_version.h"; |
||||
open(NEWV, ">include/ares_version.h.dist"); |
||||
while(<VER>) { |
||||
$_ =~ s/^\#define ARES_VERSION_MAJOR .*/\#define ARES_VERSION_MAJOR $major/; |
||||
$_ =~ s/^\#define ARES_VERSION_MINOR .*/\#define ARES_VERSION_MINOR $minor/; |
||||
$_ =~ s/^\#define ARES_VERSION_PATCH .*/\#define ARES_VERSION_PATCH $patch/; |
||||
$_ =~ s/^\#define ARES_VERSION_STR .*/\#define ARES_VERSION_STR \"$version\"/; |
||||
|
||||
print NEWV $_; |
||||
} |
||||
close(VER); |
||||
close(NEWV); |
||||
print "include/ares_version.h.dist created\n"; |
||||
|
||||
if(!-f "configure") { |
||||
print "running buildconf\n"; |
||||
`./buildconf`; |
||||
} |
||||
print "adding $version in the configure.ac file\n"; |
||||
`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version],/' < configure.ac > configure.ac.dist`; |
||||
|
||||
print "adding $version in the CMakeLists.txt file\n"; |
||||
`sed -e 's/SET.*CARES_VERSION.*/SET (CARES_VERSION "$version")/' < CMakeLists.txt > CMakeLists.txt.dist && rm -f CMakeLists.txt && mv CMakeLists.txt.dist CMakeLists.txt`; |
||||
|
||||
# now make a new configure script with this |
||||
print "makes a new configure script\n"; |
||||
`autoconf configure.ac.dist >configure`; |
||||
|
||||
# now run this new configure to get a fine makefile |
||||
print "running configure\n"; |
||||
`./configure`; |
||||
|
||||
print "produce CHANGES\n"; |
||||
`git log --pretty=fuller --no-color --date=short --decorate=full -1000 | ./git2changes.pl > CHANGES.dist`; |
||||
|
||||
# now make the actual tarball |
||||
print "running make dist\n"; |
||||
`make dist VERSION=$version`; |
||||
|
||||
# remove temporary sourced man pages |
||||
`make -s clean-sourced-manpages`; |
||||
|
||||
print "removing temporary configure.ac file\n"; |
||||
`rm configure.ac.dist`; |
||||
print "removing temporary ares_version.h file\n"; |
||||
`rm include/ares_version.h.dist`; |
||||
|
||||
print "NOTE: now tag this release!\n"; |
Loading…
Reference in new issue