aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2010-06-11 19:24:38 +0800
committerroam <roam@FreeBSD.org>2010-06-11 19:24:38 +0800
commit86c6bd7833cca05c59238634288f206bb070d42f (patch)
treea3cfc2cdbb12a5b8f175f0665aa564422620d28c /dns
parentf8a32ea9b3d6059210aa28f5f5168048738f6977 (diff)
downloadfreebsd-ports-gnome-86c6bd7833cca05c59238634288f206bb070d42f.tar.gz
freebsd-ports-gnome-86c6bd7833cca05c59238634288f206bb070d42f.tar.zst
freebsd-ports-gnome-86c6bd7833cca05c59238634288f206bb070d42f.zip
Update to c-ares-1.7.2 and declare the MIT license.
Diffstat (limited to 'dns')
-rw-r--r--dns/c-ares/Makefile4
-rw-r--r--dns/c-ares/distinfo6
-rw-r--r--dns/c-ares/files/ares-config-info.patch10
3 files changed, 11 insertions, 9 deletions
diff --git a/dns/c-ares/Makefile b/dns/c-ares/Makefile
index dcbd9fc29a5d..fd95c72e237e 100644
--- a/dns/c-ares/Makefile
+++ b/dns/c-ares/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= c-ares
-PORTVERSION= 1.7.1
+PORTVERSION= 1.7.2
CATEGORIES= dns
MASTER_SITES= http://c-ares.haxx.se/
MAINTAINER= roam@FreeBSD.org
COMMENT= An asynchronous DNS resolver library
+LICENSE= MIT
+
OPTIONS= CONFIG_INFO "Add the ares_config_info patch" ON \
DEBUG "Build with debug information" OFF \
HIDE_SYMBOLS "Hide internal library symbols" ON \
diff --git a/dns/c-ares/distinfo b/dns/c-ares/distinfo
index 164e5415e1fc..be15d387310e 100644
--- a/dns/c-ares/distinfo
+++ b/dns/c-ares/distinfo
@@ -1,3 +1,3 @@
-MD5 (c-ares-1.7.1.tar.gz) = dc7e0f32e92613aed9aff233a6b69753
-SHA256 (c-ares-1.7.1.tar.gz) = d34386e3beac222deeff34cecc3ffd8d1a1b4717f7e94f84ff96434bab613ad7
-SIZE (c-ares-1.7.1.tar.gz) = 626876
+MD5 (c-ares-1.7.2.tar.gz) = 50ec9287ec2013dc0fe19f778514280e
+SHA256 (c-ares-1.7.2.tar.gz) = 7472f4d3b86c76b88e9bb09d3b4bdf198bf0d71f2f30b1865b3e7eeba6bf4b31
+SIZE (c-ares-1.7.2.tar.gz) = 629512
diff --git a/dns/c-ares/files/ares-config-info.patch b/dns/c-ares/files/ares-config-info.patch
index d878cd47030b..622d8312e374 100644
--- a/dns/c-ares/files/ares-config-info.patch
+++ b/dns/c-ares/files/ares-config-info.patch
@@ -4,11 +4,11 @@ Description: Add the ares_get_config() routine used by Unreal IRCd.
Origin: the Unreal IRCd distribution
Author: Peter Pentchev <roam@FreeBSD.org>
Forwarded: no
-Last-Update: 2010-03-25
+Last-Update: 2010-06-11
--- ares.h.orig
+++ ares.h
-@@ -261,6 +261,14 @@
+@@ -260,6 +260,14 @@
int nsort;
};
@@ -23,7 +23,7 @@ Last-Update: 2010-03-25
struct hostent;
struct timeval;
struct sockaddr;
-@@ -502,6 +510,8 @@
+@@ -511,6 +519,8 @@
CARES_EXTERN int ares_get_servers(ares_channel channel,
struct ares_addr_node **servers);
@@ -34,7 +34,7 @@ Last-Update: 2010-03-25
#endif
--- ares_init.c.orig
+++ ares_init.c
-@@ -67,6 +67,7 @@
+@@ -66,6 +66,7 @@
#include <errno.h>
#include "ares.h"
#include "inet_net_pton.h"
@@ -42,7 +42,7 @@ Last-Update: 2010-03-25
#include "ares_library_init.h"
#include "ares_private.h"
-@@ -1520,6 +1521,36 @@
+@@ -1519,6 +1520,36 @@
}
#endif /* !WIN32 && !WATT32 */