1 |
commit: bb03e3f5d73b4a929bc97e2bc70f7cb0628de222 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 22 17:20:52 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 22 17:20:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb03e3f5 |
7 |
|
8 |
net-dns/c-ares: version bump to 1.13.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
net-dns/c-ares/Manifest | 1 + |
13 |
net-dns/c-ares/c-ares-1.13.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest |
17 |
index c0136a63056..674fa7bd99e 100644 |
18 |
--- a/net-dns/c-ares/Manifest |
19 |
+++ b/net-dns/c-ares/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST c-ares-1.12.0.tar.gz 1769879 SHA256 8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb SHA512 3da0fadb04eccab49b4e6eff3f087a392dd76238d47e74e2ede723883468da688e41f679ee8ca38613fc4f80d3bd7c29e69d3d6c711f988a02fd5d21a3ee1dc6 WHIRLPOOL 69d297213c6ca0988d3b7697d40443dabb3a9b4ceb65c357a3ec99ab2af7c0a7c669f2dc7f75833e0c8a661525ae4003be8109d2d5c1e90887b8349cd63a8d5c |
22 |
+DIST c-ares-1.13.0.tar.gz 1446797 SHA256 03f708f1b14a26ab26c38abd51137640cb444d3ec72380b21b20f1a8d2861da7 SHA512 4a7942e754673f5b8d55a7471e31b0f390e8324b14c12077580c956147fad4d165c7fe8a3190199b1add95c710ceeb1a7957706d4f0d6299d39c5dddc719bd9d WHIRLPOOL 02a398db6a1256aabb77e445be6131319f2f1f15327146fb3293033f7b6a15e499bead3d8ded022eb38f6509c76dc0981a3ce139e16132373540c21e7a313d89 |
23 |
|
24 |
diff --git a/net-dns/c-ares/c-ares-1.13.0.ebuild b/net-dns/c-ares/c-ares-1.13.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0953dcfdfbc |
27 |
--- /dev/null |
28 |
+++ b/net-dns/c-ares/c-ares-1.13.0.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit autotools eutils multilib-minimal |
36 |
+ |
37 |
+DESCRIPTION="C library that resolves names asynchronously" |
38 |
+HOMEPAGE="http://c-ares.haxx.se/" |
39 |
+SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+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" |
43 |
+IUSE="static-libs" |
44 |
+ |
45 |
+# Subslot = SONAME of libcares.so.2 |
46 |
+SLOT="0/2" |
47 |
+ |
48 |
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO ) |
49 |
+ |
50 |
+MULTILIB_WRAPPED_HEADERS=( |
51 |
+ /usr/include/ares_build.h |
52 |
+) |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ eapply "${FILESDIR}"/${PN}-1.12.0-remove-tests.patch |
56 |
+ eapply_user |
57 |
+ eautoreconf |
58 |
+} |
59 |
+ |
60 |
+multilib_src_configure() { |
61 |
+ ECONF_SOURCE=${S} \ |
62 |
+ econf \ |
63 |
+ --enable-nonblocking \ |
64 |
+ --enable-symbol-hiding \ |
65 |
+ $(use_enable static-libs static) |
66 |
+} |
67 |
+ |
68 |
+multilib_src_install_all() { |
69 |
+ einstalldocs |
70 |
+ prune_libtool_files --all |
71 |
+} |