1 |
commit: 4713589132fe11ec3184fb2602492139ce66ab37 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 14 07:28:40 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 14 07:28:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47135891 |
7 |
|
8 |
net-dns/c-ares: version bump to 1.12.0 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
net-dns/c-ares/Manifest | 1 + |
13 |
net-dns/c-ares/c-ares-1.12.0.ebuild | 43 ++++++++++++++++++++++ |
14 |
.../c-ares/files/c-ares-1.12.0-remove-tests.patch | 14 +++++++ |
15 |
3 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest |
18 |
index 3121a4b..18970ca 100644 |
19 |
--- a/net-dns/c-ares/Manifest |
20 |
+++ b/net-dns/c-ares/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST c-ares-1.10.0.tar.gz 809073 SHA256 3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db SHA512 fef6945549034390ddaa03acf5509d0095e97c151e5f4047ffc32c51945a7261759228b20fdd77b9e4bf4a95f3a61bfb79bee0c66a860219debfd2916b390693 WHIRLPOOL 660d04b20371a75b4a9dea45449407b10c782ae8367356e2f6b0b73cb2d62485068a543b4a2303673f688c6c784afd9925faa18be943aa771d8467077f8ea407 |
23 |
DIST c-ares-1.11.0.tar.gz 1102531 SHA256 b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd SHA512 0a3bbe95dbc80201a7024db564c057a788f252b09c4bcc1539d2db8b12f3497db66710e24b1c18132579ddbe3015f1d916b378b83f9c32deb5fba206ffaf9f27 WHIRLPOOL f70a4aff5e50eb46e356d09b3466021f0cd2eb93959bc4d752d7ff26415f1de387a123f0607f97d87d42f75f643094f7382205ff9ea84c00205a9291d0faa700 |
24 |
+DIST c-ares-1.12.0.tar.gz 1769879 SHA256 8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb SHA512 3da0fadb04eccab49b4e6eff3f087a392dd76238d47e74e2ede723883468da688e41f679ee8ca38613fc4f80d3bd7c29e69d3d6c711f988a02fd5d21a3ee1dc6 WHIRLPOOL 69d297213c6ca0988d3b7697d40443dabb3a9b4ceb65c357a3ec99ab2af7c0a7c669f2dc7f75833e0c8a661525ae4003be8109d2d5c1e90887b8349cd63a8d5c |
25 |
|
26 |
diff --git a/net-dns/c-ares/c-ares-1.12.0.ebuild b/net-dns/c-ares/c-ares-1.12.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..4741b2f |
29 |
--- /dev/null |
30 |
+++ b/net-dns/c-ares/c-ares-1.12.0.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools eutils multilib-minimal |
39 |
+ |
40 |
+DESCRIPTION="C library that resolves names asynchronously" |
41 |
+HOMEPAGE="http://c-ares.haxx.se/" |
42 |
+SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+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" |
46 |
+IUSE="static-libs" |
47 |
+ |
48 |
+# Subslot = SONAME of libcares.so.2 |
49 |
+SLOT="0/2" |
50 |
+ |
51 |
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO ) |
52 |
+ |
53 |
+MULTILIB_WRAPPED_HEADERS=( |
54 |
+ /usr/include/ares_build.h |
55 |
+) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ eapply "${FILESDIR}"/${P}-remove-tests.patch |
59 |
+ eapply_user |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ ECONF_SOURCE=${S} \ |
65 |
+ econf \ |
66 |
+ --enable-nonblocking \ |
67 |
+ --enable-symbol-hiding \ |
68 |
+ $(use_enable static-libs static) |
69 |
+} |
70 |
+ |
71 |
+multilib_src_install_all() { |
72 |
+ einstalldocs |
73 |
+ prune_libtool_files --all |
74 |
+} |
75 |
|
76 |
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 |
77 |
new file mode 100644 |
78 |
index 00000000..826eb85 |
79 |
--- /dev/null |
80 |
+++ b/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch |
81 |
@@ -0,0 +1,14 @@ |
82 |
+diff -Naur c-ares-1.12.0.orig/configure.ac c-ares-1.12.0/configure.ac |
83 |
+--- c-ares-1.12.0.orig/configure.ac 2016-09-29 07:43:01.000000000 -0400 |
84 |
++++ c-ares-1.12.0/configure.ac 2016-10-14 03:10:36.253342032 -0400 |
85 |
+@@ -837,10 +837,6 @@ |
86 |
+ fi |
87 |
+ AC_MSG_RESULT([$build_tests]) |
88 |
+ |
89 |
+-if test "x$build_tests" = "xyes" ; then |
90 |
+- AC_CONFIG_SUBDIRS([test]) |
91 |
+-fi |
92 |
+- |
93 |
+ AC_CONFIG_FILES([Makefile libcares.pc]) |
94 |
+ AC_OUTPUT |
95 |
+ XC_AMEND_DISTCLEAN(['.']) |