From 36940e615f92689379cc53f79f58dc49238ed395 Mon Sep 17 00:00:00 2001 From: minskim Date: Wed, 10 Jul 2019 01:31:21 +0000 Subject: [PATCH] devel/librdkafka: Update to 1.0.1 Notable changes in 1.0: - Idempotent producer - guaranteed ordering, exactly-once producing. - Sparse/on-demand connections - connections are no longer maintained to all brokers in the cluster. - KIP-62 - max.poll.interval.ms for high-level consumers. --- devel/librdkafka/Makefile | 5 ++--- devel/librdkafka/distinfo | 12 ++++++------ devel/librdkafka/patches/patch-src_snappy__compat.h | 6 +++--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/devel/librdkafka/Makefile b/devel/librdkafka/Makefile index ca7c55a0fc63..aeadfb0afcd5 100644 --- a/devel/librdkafka/Makefile +++ b/devel/librdkafka/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2019/04/25 07:32:48 maya Exp $ +# $NetBSD: Makefile,v 1.9 2019/07/10 01:31:21 minskim Exp $ -DISTNAME= librdkafka-0.11.4 -PKGREVISION= 1 +DISTNAME= librdkafka-1.0.1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=edenhill/} diff --git a/devel/librdkafka/distinfo b/devel/librdkafka/distinfo index d468509c8932..71199af3cfbb 100644 --- a/devel/librdkafka/distinfo +++ b/devel/librdkafka/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.6 2018/04/05 09:01:16 fhajny Exp $ +$NetBSD: distinfo,v 1.7 2019/07/10 01:31:21 minskim Exp $ -SHA1 (librdkafka-0.11.4.tar.gz) = 00e5b9c610697a0f32910fd1ef19e9b2c684824e -RMD160 (librdkafka-0.11.4.tar.gz) = ce9a8261a874183b61b56df3aeecd163567f679f -SHA512 (librdkafka-0.11.4.tar.gz) = 6b34e7c476d328a2f8e8321f6ddcaeaf43730284bb3aaddac81c3cd9a1fa5d7f7ef7481f1093b36d89edde7b766da6cd27a9eb9a635b12b640e8a46a269bafc8 -Size (librdkafka-0.11.4.tar.gz) = 1900117 bytes +SHA1 (librdkafka-1.0.1.tar.gz) = 95b78a6607addc36b1cd00ff034478a9502c7217 +RMD160 (librdkafka-1.0.1.tar.gz) = 66af0e1f29b67074e1f07fa72bc248e862a58c85 +SHA512 (librdkafka-1.0.1.tar.gz) = 094599e974236814c03e688eaa5e39d817cca110ff691501826268c45653fcd6b21b60e741140a1f7ffccd49902247f08fcec82475be2e9f85feaa4340b32d4c +Size (librdkafka-1.0.1.tar.gz) = 2466259 bytes SHA1 (patch-Makefile) = 31731833723acada1c53d01a632f8ba726788a5a SHA1 (patch-src_rd.h) = 698000dcad93ccaa07e2462e0932967272b2a915 SHA1 (patch-src_rdendian.h) = 75cb69e2cbdbcad6a82a943539d5707ff1df7d6d SHA1 (patch-src_rdposix.h) = 72ac80d3ac57a87b3c289b3c7a8698234af9984c -SHA1 (patch-src_snappy__compat.h) = c728f0e575ccf944d6990aa64cc4ccd926e4e5d4 +SHA1 (patch-src_snappy__compat.h) = 7fdc6dfcc292da4b4c67b4b79234d8af0561fa6f diff --git a/devel/librdkafka/patches/patch-src_snappy__compat.h b/devel/librdkafka/patches/patch-src_snappy__compat.h index a2b20173a2c6..23480d3f35d6 100644 --- a/devel/librdkafka/patches/patch-src_snappy__compat.h +++ b/devel/librdkafka/patches/patch-src_snappy__compat.h @@ -1,8 +1,8 @@ -$NetBSD: patch-src_snappy__compat.h,v 1.1 2017/04/24 12:20:37 fhajny Exp $ +$NetBSD: patch-src_snappy__compat.h,v 1.2 2019/07/10 01:31:21 minskim Exp $ Add NetBSD support. ---- src/snappy_compat.h.orig 2017-04-12 08:36:34.000000000 +0000 +--- src/snappy_compat.h.orig 2019-05-28 15:56:28.000000000 +0000 +++ src/snappy_compat.h @@ -3,7 +3,7 @@ @@ -11,5 +11,5 @@ Add NetBSD support. -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) # include - #elif defined(__APPLE_CC_) || defined(__MACH__) /* MacOS/X support */ + #elif defined(__APPLE_CC_) || (defined(__MACH__) && defined(__APPLE__)) /* MacOS/X support */ # include