diff options
author | drochner <drochner@pkgsrc.org> | 2012-04-25 15:50:51 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2012-04-25 15:50:51 +0000 |
commit | f5ace51573bb1e80da5fce4931f5b78c92c660cb (patch) | |
tree | 38d054c26e464833be882e1f277b3f98dffb2541 /net | |
parent | 8163355fbde219b0b68736a877c730158cce9123 (diff) | |
download | pkgsrc-f5ace51573bb1e80da5fce4931f5b78c92c660cb.tar.gz |
update to 1.7.5
changes:
-minor feature additions, e.g. bind to local i/f addresses
-API extensions
-bugfixes
Diffstat (limited to 'net')
-rw-r--r-- | net/libcares/Makefile | 6 | ||||
-rw-r--r-- | net/libcares/PLIST | 12 | ||||
-rw-r--r-- | net/libcares/distinfo | 10 | ||||
-rw-r--r-- | net/libcares/patches/patch-aa | 27 | ||||
-rw-r--r-- | net/libcares/patches/patch-ab | 32 |
5 files changed, 18 insertions, 69 deletions
diff --git a/net/libcares/Makefile b/net/libcares/Makefile index 96851c43f8d..d343c8165be 100644 --- a/net/libcares/Makefile +++ b/net/libcares/Makefile @@ -1,12 +1,12 @@ -# $NetBSD: Makefile,v 1.11 2010/07/25 13:09:42 obache Exp $ +# $NetBSD: Makefile,v 1.12 2012/04/25 15:50:51 drochner Exp $ # # Please do not update or modify this package as it has been imported only # as a dependecy for chat/unrealircd. This package should only be updated # when chat/unrealircd requires it. # -DISTNAME= c-ares-1.6.0 -PKGNAME= libcares-1.6.0 +DISTNAME= c-ares-1.7.5 +PKGNAME= libcares-1.7.5 CATEGORIES= net MASTER_SITES= http://c-ares.haxx.se/ diff --git a/net/libcares/PLIST b/net/libcares/PLIST index 627b2568e21..43700ebd33c 100644 --- a/net/libcares/PLIST +++ b/net/libcares/PLIST @@ -1,6 +1,8 @@ -@comment $NetBSD: PLIST,v 1.4 2010/07/25 13:09:42 obache Exp $ +@comment $NetBSD: PLIST,v 1.5 2012/04/25 15:50:51 drochner Exp $ include/ares.h +include/ares_build.h include/ares_dns.h +include/ares_rules.h include/ares_version.h lib/libcares.la lib/pkgconfig/libcares.pc @@ -11,8 +13,10 @@ man/man3/ares_dup.3 man/man3/ares_expand_name.3 man/man3/ares_expand_string.3 man/man3/ares_fds.3 +man/man3/ares_free_data.3 man/man3/ares_free_hostent.3 man/man3/ares_free_string.3 +man/man3/ares_get_servers.3 man/man3/ares_gethostbyaddr.3 man/man3/ares_gethostbyname.3 man/man3/ares_gethostbyname_file.3 @@ -20,16 +24,22 @@ man/man3/ares_getnameinfo.3 man/man3/ares_getsock.3 man/man3/ares_init.3 man/man3/ares_init_options.3 +man/man3/ares_library_cleanup.3 +man/man3/ares_library_init.3 man/man3/ares_mkquery.3 man/man3/ares_parse_a_reply.3 man/man3/ares_parse_aaaa_reply.3 +man/man3/ares_parse_mx_reply.3 man/man3/ares_parse_ns_reply.3 man/man3/ares_parse_ptr_reply.3 +man/man3/ares_parse_srv_reply.3 +man/man3/ares_parse_txt_reply.3 man/man3/ares_process.3 man/man3/ares_query.3 man/man3/ares_save_options.3 man/man3/ares_search.3 man/man3/ares_send.3 +man/man3/ares_set_servers.3 man/man3/ares_set_socket_callback.3 man/man3/ares_strerror.3 man/man3/ares_timeout.3 diff --git a/net/libcares/distinfo b/net/libcares/distinfo index b120166a2f8..c6bcf70b36f 100644 --- a/net/libcares/distinfo +++ b/net/libcares/distinfo @@ -1,7 +1,5 @@ -$NetBSD: distinfo,v 1.5 2010/07/25 13:09:42 obache Exp $ +$NetBSD: distinfo,v 1.6 2012/04/25 15:50:51 drochner Exp $ -SHA1 (c-ares-1.6.0.tar.gz) = 50b0f5955769117720c8ff2bde6a8a8ece65d7a3 -RMD160 (c-ares-1.6.0.tar.gz) = 3eccaad5df124525c70c47a76cc3fc2cbd31bbe8 -Size (c-ares-1.6.0.tar.gz) = 448639 bytes -SHA1 (patch-aa) = 3fa66b6909821b410141e5514b2d09777f3e2040 -SHA1 (patch-ab) = 356b35b0cb98691a75acf2a9b048a6c5a17117f8 +SHA1 (c-ares-1.7.5.tar.gz) = 5f005f16cc6a02aa0ff3b4cd0aae573bc47c9bfe +RMD160 (c-ares-1.7.5.tar.gz) = bbe0f95ce2d374d14fec0bd5ce5728ada9974235 +Size (c-ares-1.7.5.tar.gz) = 746032 bytes diff --git a/net/libcares/patches/patch-aa b/net/libcares/patches/patch-aa deleted file mode 100644 index 429937368ec..00000000000 --- a/net/libcares/patches/patch-aa +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2010/07/25 13:09:42 obache Exp $ - ---- ares.h.orig 2008-12-04 12:53:03.000000000 +0000 -+++ ares.h -@@ -218,6 +218,13 @@ struct ares_options { - int nsort; - }; - -+struct ares_config_info { -+ int timeout; -+ int tries; -+ int numservers; -+ char **servers; -+}; -+ - struct hostent; - struct timeval; - struct sockaddr; -@@ -313,7 +320,7 @@ int ares_parse_ns_reply(const unsigned c - 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 diff --git a/net/libcares/patches/patch-ab b/net/libcares/patches/patch-ab deleted file mode 100644 index b95a74d6c0c..00000000000 --- a/net/libcares/patches/patch-ab +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2010/07/25 13:09:42 obache Exp $ - ---- ares_init.c.orig 2008-12-04 12:53:03.000000000 +0000 -+++ ares_init.c -@@ -1555,6 +1555,27 @@ unsigned short ares__generate_new_id(rc4 - return r; - } - -+int ares_get_config(struct ares_config_info *d, ares_channel c) -+{ -+int i; -+char *p; -+ -+ memset(d, 0, sizeof(struct ares_config_info)); -+ -+ d->timeout = c->timeout; -+ d->tries = c->tries; -+ d->numservers = c->nservers; -+ d->servers = calloc(sizeof(char *), c->nservers); -+ for (i = 0; i < c->nservers; i++) -+ { -+ p = inet_ntoa(c->servers[i].addr); -+ d->servers[i] = p ? strdup(p) : NULL; -+ } -+ -+ return ARES_SUCCESS; -+} -+ -+ - void ares_set_socket_callback(ares_channel channel, - ares_sock_create_callback cb, - void *data) |