1 |
commit: 35edd05a5530db10454d9347720e36ae954a20eb |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 24 09:45:08 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 24 09:45:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35edd05a |
7 |
|
8 |
net-dns/c-ares: Version 1.15.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-dns/c-ares/Manifest | 1 + |
14 |
net-dns/c-ares/c-ares-1.15.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest |
18 |
index ec995464d44..6991aca2953 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.13.0.tar.gz 1446797 BLAKE2B 9d7daaad8e35242f110ee8b4abf20619e46beb3fcf49a1b6d7df596fd4129b56cb92f4aeba10845aeb6ed4f4d789ac11745ddc87803ca5bf27fed1aebdb4286c SHA512 4a7942e754673f5b8d55a7471e31b0f390e8324b14c12077580c956147fad4d165c7fe8a3190199b1add95c710ceeb1a7957706d4f0d6299d39c5dddc719bd9d |
23 |
DIST c-ares-1.14.0.tar.gz 1335940 BLAKE2B d62a0b6d5ea4a2926ff8f2f719d267f9a0c97fa9756b80fcf7c97822f3dd7a1ce9587d9db0ea5217f052f54f5858c68e71c78c33f32fe60df81f456cd9719ac6 SHA512 30cd3f8c4eea15f994b2ceb44d84e506858f69f624e651e39bb4db523fea9ad5e8906b75abf07131ae364be19172274ed4053059669091f21ce4463cdbb857bf |
24 |
+DIST c-ares-1.15.0.tar.gz 1347687 BLAKE2B c4028bb2840af23274b79c73600bfcf73a348c7ab63ae3c215829e0fe2cf149f4ad38a3ec657c3997bad818ced3cacaed0579dd0dd2ef42eaffd074bdc4f22ed SHA512 a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50 |
25 |
|
26 |
diff --git a/net-dns/c-ares/c-ares-1.15.0.ebuild b/net-dns/c-ares/c-ares-1.15.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c90ba00fe1b |
29 |
--- /dev/null |
30 |
+++ b/net-dns/c-ares/c-ares-1.15.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools eutils multilib-minimal |
38 |
+ |
39 |
+DESCRIPTION="C library that resolves names asynchronously" |
40 |
+HOMEPAGE="https://c-ares.haxx.se/" |
41 |
+SRC_URI="https://${PN}.haxx.se/download/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+# Subslot = SONAME of libcares.so.2 |
48 |
+SLOT="0/2" |
49 |
+ |
50 |
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO ) |
51 |
+ |
52 |
+MULTILIB_WRAPPED_HEADERS=( |
53 |
+ /usr/include/ares_build.h |
54 |
+) |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ eapply "${FILESDIR}"/${PN}-1.12.0-remove-tests.patch |
58 |
+ eapply_user |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
+multilib_src_configure() { |
63 |
+ ECONF_SOURCE=${S} \ |
64 |
+ econf \ |
65 |
+ --enable-nonblocking \ |
66 |
+ --enable-symbol-hiding \ |
67 |
+ $(use_enable static-libs static) |
68 |
+} |
69 |
+ |
70 |
+multilib_src_install_all() { |
71 |
+ einstalldocs |
72 |
+ prune_libtool_files --all |
73 |
+} |