pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libcares Update to 1.3.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/f79d706babeb
branches: trunk
changeset: 523184:f79d706babeb
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Wed Jan 03 12:38:38 2007 +0000
description:
Update to 1.3.2
In brief:
Version 1.3.2 (November 3, 2006)
* October 12 2006
- Prevent ares_getsock() to overflow if more than 16 sockets are used.
Version 1.3.1 (June 24, 2006)
* July 23, 2006
- Gisle Vanem added getopt() to the ahost program. Currently accepts
only [-t {a|aaaa}] to specify address family in ares_gethostbyname().
* June 19, 2006
- (wahern) Removed "big endian" DNS section and RR data integer parser
macros from ares_dns.h, which break c-ares on my Sparc64. Bit-wise
operations in C operate on logical values. And in any event the octets are
already in big-endian (aka network) byte order so they're being reversed
(thus the source of the breakage).
* May 10, 2006
- Bram Matthys brought my attention to a libtool peculiarity where detecting
things such as C++ compiler actually is a bad thing and since we don't need
that detection I added a work-around, much inspired by a previous patch by
Paolo Bonzini. This also shortens the configure script quite a lot.
* November 25
- Yang Tse fixed some send() / recv() compiler warnings
* September 18
- Added constants that will be used by ares_getaddrinfo
- Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it
is available to ensure it works properly in a threaded environment.
* September 10
- configure fix for detecting a member in the sockaddr_in6 struct which failed
on ipv6-enabled HP-UX 11.00
diffstat:
net/libcares/Makefile | 7 +++----
net/libcares/PLIST | 3 ++-
net/libcares/distinfo | 10 +++++-----
net/libcares/patches/patch-aa | 19 ++++++++++---------
4 files changed, 20 insertions(+), 19 deletions(-)
diffs (95 lines):
diff -r b1cb202ee7ef -r f79d706babeb net/libcares/Makefile
--- a/net/libcares/Makefile Wed Jan 03 12:34:11 2007 +0000
+++ b/net/libcares/Makefile Wed Jan 03 12:38:38 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/07/18 22:38:18 adrianp Exp $
+# $NetBSD: Makefile,v 1.4 2007/01/03 12:38:38 adrianp Exp $
#
# Please do not update or modify this package as it has been imported only
@@ -6,9 +6,8 @@
# when chat/unrealircd requires it.
#
-DISTNAME= c-ares-1.3.0
-PKGNAME= libcares-1.3.0
-PKGREVISION= 1
+DISTNAME= c-ares-1.3.2
+PKGNAME= libcares-1.3.2
CATEGORIES= net
MASTER_SITES= http://daniel.haxx.se/projects/c-ares/
diff -r b1cb202ee7ef -r f79d706babeb net/libcares/PLIST
--- a/net/libcares/PLIST Wed Jan 03 12:34:11 2007 +0000
+++ b/net/libcares/PLIST Wed Jan 03 12:38:38 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/01 17:27:10 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/01/03 12:38:38 adrianp Exp $
include/ares.h
include/ares_version.h
lib/libcares.la
@@ -12,6 +12,7 @@
man/man3/ares_gethostbyaddr.3
man/man3/ares_gethostbyname.3
man/man3/ares_getnameinfo.3
+man/man3/ares_getsock.3
man/man3/ares_init.3
man/man3/ares_init_options.3
man/man3/ares_mkquery.3
diff -r b1cb202ee7ef -r f79d706babeb net/libcares/distinfo
--- a/net/libcares/distinfo Wed Jan 03 12:34:11 2007 +0000
+++ b/net/libcares/distinfo Wed Jan 03 12:38:38 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2006/07/18 22:38:18 adrianp Exp $
+$NetBSD: distinfo,v 1.3 2007/01/03 12:38:38 adrianp Exp $
-SHA1 (c-ares-1.3.0.tar.gz) = 73c2bfa9dc1bde6b364a485c0c05ecf05688debe
-RMD160 (c-ares-1.3.0.tar.gz) = f788b06b881ed71366f10761ae673965439ad07a
-Size (c-ares-1.3.0.tar.gz) = 355195 bytes
-SHA1 (patch-aa) = 320b3da925b0bb5fa8c286480ca2420735c54da6
+SHA1 (c-ares-1.3.2.tar.gz) = 32808a0f4837d53d7b4751b64cfeb8ab22e1394d
+RMD160 (c-ares-1.3.2.tar.gz) = 2c58d3cb50e3a4384310d8da4916b82b87f8cf11
+Size (c-ares-1.3.2.tar.gz) = 330752 bytes
+SHA1 (patch-aa) = 548fe2030abc2925c7b0acadcf6a7577df2a8931
SHA1 (patch-ab) = 7beaebd2b3d08549e013c831991a8c23fb584431
diff -r b1cb202ee7ef -r f79d706babeb net/libcares/patches/patch-aa
--- a/net/libcares/patches/patch-aa Wed Jan 03 12:34:11 2007 +0000
+++ b/net/libcares/patches/patch-aa Wed Jan 03 12:38:38 2007 +0000
@@ -1,27 +1,28 @@
-$NetBSD: patch-aa,v 1.1 2006/07/18 22:38:18 adrianp Exp $
+$NetBSD: patch-aa,v 1.2 2007/01/03 12:38:38 adrianp Exp $
---- ares.h.orig 2005-08-18 12:49:29.000000000 +0100
+--- ares.h.orig 2006-10-11 22:46:50.000000000 +0100
+++ ares.h
-@@ -122,6 +122,14 @@ struct ares_options {
- char *lookups;
+@@ -164,6 +164,14 @@ struct ares_options {
+ void *sock_state_cb_data;
};
+/** Public available config (readonly) interface for ares_get_config(). */
+struct ares_config_info {
-+ int timeout;
-+ int tries;
-+ int numservers;
-+ char **servers;
++ int timeout;
++ int tries;
++ int numservers;
++ char **servers;
+};
+
struct hostent;
struct timeval;
struct sockaddr;
-@@ -173,6 +181,7 @@ void ares_free_string(void *str);
+@@ -217,6 +225,8 @@ void ares_free_string(void *str);
void ares_free_hostent(struct hostent *host);
const char *ares_strerror(int code);
+int ares_get_config(struct ares_config_info *d, ares_channel c);
++
#ifdef __cplusplus
}
#endif
Home |
Main Index |
Thread Index |
Old Index