From 932f57ccf016eb29c5d9eff726207a58a38e7a95 Mon Sep 17 00:00:00 2001 From: Jason Glasgow Date: Thu, 1 Dec 2011 08:11:23 -0500 Subject: [PATCH] Upgraded the c-ares Portage package Upgraded net-dns/c-ares to version 1.7.5 on arm, x86. This is step 1. Step 2 will be to enable 1.7.5 for arm, amd64, and x86, in chromiumos-overlay/profiles/targets/chromeos/package.keywords. BUG=chromium-os:22470 TEST=built x86-alex and arm-generic Change-Id: I91c64972c8ac107cec75530e09ef977fc549db69 Reviewed-on: https://gerrit.chromium.org/gerrit/12315 Reviewed-by: Mike Frysinger Commit-Ready: Jason Glasgow Reviewed-by: Jason Glasgow Tested-by: Jason Glasgow --- .../net-dns/c-ares/c-ares-1.7.5.ebuild | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/net-dns/c-ares/c-ares-1.7.5.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-dns/c-ares/c-ares-1.7.5.ebuild b/sdk_container/src/third_party/portage-stable/net-dns/c-ares/c-ares-1.7.5.ebuild new file mode 100644 index 0000000000..05fa256f1b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-dns/c-ares/c-ares-1.7.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/c-ares/c-ares-1.7.5.ebuild,v 1.1 2011/08/21 11:23:15 angelos Exp $ + +EAPI=4 + +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" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris" +IUSE="static-libs" + +DOCS=( AUTHORS CHANGES README README.cares RELEASE-NOTES TODO ) + +src_configure() { + econf \ + --enable-nonblocking \ + --enable-symbol-hiding \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +}