Hi,

an update for net/libcares which fixes CVE-2017-1000381
(https://c-ares.haxx.se/adv_20170620.html).

Changelog: https://c-ares.haxx.se/changelog.html

- patch-ares_h is no longer necessary
- bump minor for libcares shared library due to
  ares_set_socket_functions addition

OK?

Best regards,
Ingo

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/libcares/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile    12 Oct 2016 06:09:34 -0000      1.18
+++ Makefile    12 Sep 2017 10:26:09 -0000
@@ -2,13 +2,13 @@
 
 COMMENT=       asynchronous resolver library
 
-V=             1.12.0
+V=             1.13.0
 DISTNAME=      c-ares-${V}
 PKGNAME=       libcares-${V}
 CATEGORIES=    net devel
 MASTER_SITES=  ${HOMEPAGE}download/
 
-SHARED_LIBS +=  cares                3.0      # 4.0
+SHARED_LIBS +=  cares                3.1      # 4.0
 
 HOMEPAGE=      http://c-ares.haxx.se/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/libcares/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo    12 Oct 2016 06:09:34 -0000      1.9
+++ distinfo    12 Sep 2017 10:26:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (c-ares-1.12.0.tar.gz) = hpL5QDzc35NhMOBFyEAhZlEY7pv+qQXRp28E1ObzZfs=
-SIZE (c-ares-1.12.0.tar.gz) = 1769879
+SHA256 (c-ares-1.13.0.tar.gz) = A/cI8bFKJqsmw4q9URN2QMtETT7HI4CyGyDxqNKGHac=
+SIZE (c-ares-1.13.0.tar.gz) = 1446797
Index: patches/patch-ares_h
===================================================================
RCS file: patches/patch-ares_h
diff -N patches/patch-ares_h
--- patches/patch-ares_h        10 Sep 2016 13:03:40 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-$OpenBSD: patch-ares_h,v 1.1 2016/09/10 13:03:40 ajacoutot Exp $
---- ares.h.orig        Sat Sep 10 12:52:43 2016
-+++ ares.h     Sat Sep 10 12:53:10 2016
-@@ -31,6 +31,7 @@
- #  define WIN32
- #endif
- 
-+#include <sys/select.h> /* fd_set */
- #include <sys/types.h>
- 
- /* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/libcares/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- pkg/PLIST   12 Oct 2016 06:09:34 -0000      1.9
+++ pkg/PLIST   12 Sep 2017 10:26:09 -0000
@@ -32,6 +32,7 @@ lib/pkgconfig/libcares.pc
 @man man/man3/ares_init_options.3
 @man man/man3/ares_library_cleanup.3
 @man man/man3/ares_library_init.3
+@man man/man3/ares_library_initialized.3
 @man man/man3/ares_mkquery.3
 @man man/man3/ares_parse_a_reply.3
 @man man/man3/ares_parse_aaaa_reply.3

Reply via email to