From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06320139083 for ; Thu, 7 Dec 2017 23:39:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09186E0FD7; Thu, 7 Dec 2017 23:39:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C75CDE0FD4 for ; Thu, 7 Dec 2017 23:39:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6BABF33C1EB for ; Thu, 7 Dec 2017 23:39:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0B2AAD74 for ; Thu, 7 Dec 2017 23:39:32 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1512689951.c330b9e28ff83e773f80bbe708f9bd5924c50246.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librdkafka/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/librdkafka/Manifest dev-libs/librdkafka/librdkafka-0.11.3.ebuild X-VCS-Directories: dev-libs/librdkafka/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: c330b9e28ff83e773f80bbe708f9bd5924c50246 X-VCS-Branch: master Date: Thu, 7 Dec 2017 23:39:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7a5e8d5a-b96a-41ca-9d1b-b52f28ddfc06 X-Archives-Hash: 39daef62db3d19d6c7697d407c3955c1 commit: c330b9e28ff83e773f80bbe708f9bd5924c50246 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Dec 7 23:11:57 2017 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Dec 7 23:39:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c330b9e2 dev-libs/librdkafka: Bump to v0.11.3 Package-Manager: Portage-2.3.16, Repoman-2.3.6 dev-libs/librdkafka/Manifest | 1 + dev-libs/librdkafka/librdkafka-0.11.3.ebuild | 71 ++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest index 8d4cbdf7ddc..0b413859a66 100644 --- a/dev-libs/librdkafka/Manifest +++ b/dev-libs/librdkafka/Manifest @@ -1,5 +1,6 @@ DIST librdkafka-0.11.0.tar.gz 837546 BLAKE2B 32dc35a97c51353c2635965244eefb98ba0575f4aafe405f7cccbc1ce06a3c8230ebd6171f4519ab50f4d996dc934c868366f8520d210216697584d1d730bde6 SHA512 1c41bd5bb9eb93b3bf743e8c4f14684609cb47b0c4fb95d303ddc7c62fdb678d9e6928fa6ea57c0aaa7695d08ab6e7ec84b699d7d61c7f750af0fe2cb148c596 DIST librdkafka-0.11.1.tar.gz 859238 BLAKE2B bc53f358320aa40d1acb209daa2594f18421bb6913bad7ba08a5612dfd6683e65489dc31ed67adc9df090d719ea6ab1031f46e524f055c61cab3f1f941a7163b SHA512 24aba6cfbd5df6a010a735fde455a9272c85b26055b172893b8e5259c2d6a7f2adc9637699f7f3b7270200a280cd95d52779a8f89fbb6af5fc035488ff54310e +DIST librdkafka-0.11.3.tar.gz 1849838 BLAKE2B 570713642b5ec9c2487a37b9146edda5f844427dbf55d6cb654ca9a8690cd6f77bcc9325800ac2a34da21f1cca33187f390c00132f9e5c28503f816ee256c4f9 SHA512 e9bb97ea1597019a841dd4ba3666ad72dcbc0539054155ce0caee92f1324f1a490515b0310405f822b829c05ed2688b48e2ca205a91cf88bf9ad6411f7c12b26 DIST librdkafka-0.9.2.tar.gz 620799 BLAKE2B e3665de63c573529df171bc4def2e341f0a051f8df1119d83d65d631e0744bbcc73251fc7ea3278e840bd16962960d45d45493f4f33c8f4592a381853a054927 SHA512 12a7da8de59de684da527ab969cd84dc8602741e9208941e1c7ad6dc69774bcbc3fbde0620d48c300372fa20b15aa826d309b71730119d82ec578e274c241152 DIST librdkafka-0.9.3.tar.gz 637066 SHA256 745ead036f0d5b732e1cd035a1f31fc23665f2982bf9d799742034e0a1bd0be9 SHA512 5ec4c597eb7871c13feaaa96a76dc97c836f1fb5ae6c11d10675aee5577ad09d33e104af8fd497a8fbc7ee2c59434800d4cd857843f5c37460d4107ba0dc4e78 WHIRLPOOL fd6e57f34079fc0d808e35fee2d1ab736719b82f5c3f9b292e50bb522d8fea7e8b74adaf7ecfa1940e6eae2ca6f0c154593a99976261f4e11969f1596af450b1 DIST librdkafka-0.9.4.tar.gz 696078 SHA256 5007ad20a6753f709803e72c5f2c09483dcbce0f16b94b17cf677fb3e6045907 SHA512 054897d90131ba7d91f66e2929f19224ae96feabe1be69e93a87ad05864f4893aa56456c3c15a303826f0c519eab09c5cd6e0b34d76ae68db6060aa80e9bc8de WHIRLPOOL 6c5cb2a3056f60493dd65ec7f81d71e335d44ef0cfa2c63a943ffa32752025add1691fb3c77902b3ee8706f822916ee32bc885f425eb44b62366b1c0bc983bcc diff --git a/dev-libs/librdkafka/librdkafka-0.11.3.ebuild b/dev-libs/librdkafka/librdkafka-0.11.3.ebuild new file mode 100644 index 00000000000..8d6fd40533b --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.11.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="lz4 sasl ssl static-libs" + +RDEPEND=" + lz4? ( app-arch/lz4:= ) + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP + + local myeconf=( + --no-cache + --no-download + --disable-debug-symbols + $(use_enable lz4) + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +}