commit:     4713589132fe11ec3184fb2602492139ce66ab37
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 07:28:40 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 07:28:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47135891

net-dns/c-ares: version bump to 1.12.0

Package-Manager: portage-2.2.28

 net-dns/c-ares/Manifest                            |  1 +
 net-dns/c-ares/c-ares-1.12.0.ebuild                | 43 ++++++++++++++++++++++
 .../c-ares/files/c-ares-1.12.0-remove-tests.patch  | 14 +++++++
 3 files changed, 58 insertions(+)

diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest
index 3121a4b..18970ca 100644
--- a/net-dns/c-ares/Manifest
+++ b/net-dns/c-ares/Manifest
@@ -1,2 +1,3 @@
 DIST c-ares-1.10.0.tar.gz 809073 SHA256 
3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db SHA512 
fef6945549034390ddaa03acf5509d0095e97c151e5f4047ffc32c51945a7261759228b20fdd77b9e4bf4a95f3a61bfb79bee0c66a860219debfd2916b390693
 WHIRLPOOL 
660d04b20371a75b4a9dea45449407b10c782ae8367356e2f6b0b73cb2d62485068a543b4a2303673f688c6c784afd9925faa18be943aa771d8467077f8ea407
 DIST c-ares-1.11.0.tar.gz 1102531 SHA256 
b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd SHA512 
0a3bbe95dbc80201a7024db564c057a788f252b09c4bcc1539d2db8b12f3497db66710e24b1c18132579ddbe3015f1d916b378b83f9c32deb5fba206ffaf9f27
 WHIRLPOOL 
f70a4aff5e50eb46e356d09b3466021f0cd2eb93959bc4d752d7ff26415f1de387a123f0607f97d87d42f75f643094f7382205ff9ea84c00205a9291d0faa700
+DIST c-ares-1.12.0.tar.gz 1769879 SHA256 
8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb SHA512 
3da0fadb04eccab49b4e6eff3f087a392dd76238d47e74e2ede723883468da688e41f679ee8ca38613fc4f80d3bd7c29e69d3d6c711f988a02fd5d21a3ee1dc6
 WHIRLPOOL 
69d297213c6ca0988d3b7697d40443dabb3a9b4ceb65c357a3ec99ab2af7c0a7c669f2dc7f75833e0c8a661525ae4003be8109d2d5c1e90887b8349cd63a8d5c

diff --git a/net-dns/c-ares/c-ares-1.12.0.ebuild 
b/net-dns/c-ares/c-ares-1.12.0.ebuild
new file mode 100644
index 00000000..4741b2f
--- /dev/null
+++ b/net-dns/c-ares/c-ares-1.12.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="C library that resolves names asynchronously"
+HOMEPAGE="http://c-ares.haxx.se/";
+SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz";
+
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~sparc64-solaris"
+IUSE="static-libs"
+
+# Subslot = SONAME of libcares.so.2
+SLOT="0/2"
+
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
+
+MULTILIB_WRAPPED_HEADERS=(
+       /usr/include/ares_build.h
+)
+
+src_prepare() {
+       eapply "${FILESDIR}"/${P}-remove-tests.patch
+       eapply_user
+       eautoreconf
+}
+
+multilib_src_configure() {
+       ECONF_SOURCE=${S} \
+       econf \
+               --enable-nonblocking \
+               --enable-symbol-hiding \
+               $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+       einstalldocs
+       prune_libtool_files --all
+}

diff --git a/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch 
b/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch
new file mode 100644
index 00000000..826eb85
--- /dev/null
+++ b/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch
@@ -0,0 +1,14 @@
+diff -Naur c-ares-1.12.0.orig/configure.ac c-ares-1.12.0/configure.ac
+--- c-ares-1.12.0.orig/configure.ac    2016-09-29 07:43:01.000000000 -0400
++++ c-ares-1.12.0/configure.ac 2016-10-14 03:10:36.253342032 -0400
+@@ -837,10 +837,6 @@
+ fi
+ AC_MSG_RESULT([$build_tests])
+ 
+-if test "x$build_tests" = "xyes" ; then
+-  AC_CONFIG_SUBDIRS([test])
+-fi
+-
+ AC_CONFIG_FILES([Makefile libcares.pc])
+ AC_OUTPUT
+ XC_AMEND_DISTCLEAN(['.'])

Reply via email to