diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-07-28 14:34:25 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-07-28 14:47:25 +0200 |
commit | 76e4883019fe92c545739f7d52cb1af3dc8ea7a5 (patch) | |
tree | 889e9c5c10ac8f439e4cd0dde619dbeefde73df8 /dev-libs/librdkafka | |
parent | games-arcade/xevil: Remove last-rited pkg (diff) | |
download | gentoo-76e4883019fe92c545739f7d52cb1af3dc8ea7a5.tar.gz gentoo-76e4883019fe92c545739f7d52cb1af3dc8ea7a5.tar.bz2 gentoo-76e4883019fe92c545739f7d52cb1af3dc8ea7a5.zip |
dev-libs/librdkafka: drop old
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-libs/librdkafka')
-rw-r--r-- | dev-libs/librdkafka/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/librdkafka/files/librdkafka-0.11.3-fix-memory-leak-issue1534.patch | 19 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-0.11.3-r1.ebuild | 73 |
3 files changed, 0 insertions, 93 deletions
diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest index a12de3cdbeb0..003a93a0a18c 100644 --- a/dev-libs/librdkafka/Manifest +++ b/dev-libs/librdkafka/Manifest @@ -1,2 +1 @@ -DIST librdkafka-0.11.3.tar.gz 1849838 BLAKE2B 570713642b5ec9c2487a37b9146edda5f844427dbf55d6cb654ca9a8690cd6f77bcc9325800ac2a34da21f1cca33187f390c00132f9e5c28503f816ee256c4f9 SHA512 e9bb97ea1597019a841dd4ba3666ad72dcbc0539054155ce0caee92f1324f1a490515b0310405f822b829c05ed2688b48e2ca205a91cf88bf9ad6411f7c12b26 DIST librdkafka-0.11.4.tar.gz 1900117 BLAKE2B 3e755c91d6a2e12829ba841749977f8c05c9f243d79db64247547e4a49790e67d07f7d82633f45689dcc5f88caaef200027e6af3866de283c1de6120d7f98467 SHA512 6b34e7c476d328a2f8e8321f6ddcaeaf43730284bb3aaddac81c3cd9a1fa5d7f7ef7481f1093b36d89edde7b766da6cd27a9eb9a635b12b640e8a46a269bafc8 diff --git a/dev-libs/librdkafka/files/librdkafka-0.11.3-fix-memory-leak-issue1534.patch b/dev-libs/librdkafka/files/librdkafka-0.11.3-fix-memory-leak-issue1534.patch deleted file mode 100644 index ae4c3e5bc81e..000000000000 --- a/dev-libs/librdkafka/files/librdkafka-0.11.3-fix-memory-leak-issue1534.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://github.com/edenhill/librdkafka/commit/8fed971043e642c195860cd77006622d23616c22 - ---- a/src/rdkafka_msgset_writer.c -+++ b/src/rdkafka_msgset_writer.c -@@ -436,10 +436,12 @@ rd_kafka_msgset_writer_write_msg_payload (rd_kafka_msgset_writer_t *msetw, - * room in the buffer we'll copy the payload to the buffer, - * otherwise we push a reference to the memory. */ - if (rkm->rkm_len <= (size_t)rk->rk_conf.msg_copy_max_size && -- rd_buf_write_remains(&rkbuf->rkbuf_buf) > rkm->rkm_len) -+ rd_buf_write_remains(&rkbuf->rkbuf_buf) > rkm->rkm_len) { - rd_kafka_buf_write(rkbuf, - rkm->rkm_payload, rkm->rkm_len); -- else -+ if (free_cb) -+ free_cb(rkm->rkm_payload); -+ } else - rd_kafka_buf_push(rkbuf, rkm->rkm_payload, rkm->rkm_len, - free_cb); - } diff --git a/dev-libs/librdkafka/librdkafka-0.11.3-r1.ebuild b/dev-libs/librdkafka/librdkafka-0.11.3-r1.ebuild deleted file mode 100644 index ef4921fdc0a1..000000000000 --- a/dev-libs/librdkafka/librdkafka-0.11.3-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2018 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" - - PATCHES=( "${FILESDIR}"/${P}-fix-memory-leak-issue1534.patch ) -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 -} |