pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/librdkafka Import librdkafka 0.9.5 as devel/libr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/24afa0e5b635
branches: trunk
changeset: 361363:24afa0e5b635
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Thu Apr 20 08:01:18 2017 +0000
description:
Import librdkafka 0.9.5 as devel/librdkafka.
librdkafka is a C library implementation of the Apache Kafka protocol,
containing both Producer and Consumer support.
diffstat:
devel/librdkafka/DESCR | 2 +
devel/librdkafka/Makefile | 27 ++++++++++++++++++++
devel/librdkafka/PLIST | 11 ++++++++
devel/librdkafka/distinfo | 7 +++++
devel/librdkafka/patches/patch-src_rdkafka__broker.c | 15 +++++++++++
5 files changed, 62 insertions(+), 0 deletions(-)
diffs (82 lines):
diff -r e622de471900 -r 24afa0e5b635 devel/librdkafka/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/librdkafka/DESCR Thu Apr 20 08:01:18 2017 +0000
@@ -0,0 +1,2 @@
+librdkafka is a C library implementation of the Apache Kafka protocol,
+containing both Producer and Consumer support.
diff -r e622de471900 -r 24afa0e5b635 devel/librdkafka/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/librdkafka/Makefile Thu Apr 20 08:01:18 2017 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2017/04/20 08:01:18 fhajny Exp $
+
+DISTNAME= librdkafka-0.9.5
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=edenhill/}
+
+MAINTAINER= filip%joyent.com@localhost
+HOMEPAGE= https://github.com/edenhill/librdkafka/
+COMMENT= Apache Kafka C/C++ library
+LICENSE= 2-clause-bsd
+
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c99 c++
+USE_TOOLS+= bash gmake pkg-config
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --enable-lz4
+CONFIGURE_ARGS+= --enable-ssl
+CONFIGURE_ARGS+= --disable-sasl
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e622de471900 -r 24afa0e5b635 devel/librdkafka/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/librdkafka/PLIST Thu Apr 20 08:01:18 2017 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/20 08:01:18 fhajny Exp $
+include/librdkafka/rdkafka.h
+include/librdkafka/rdkafkacpp.h
+lib/librdkafka++.a
+lib/librdkafka++.so
+lib/librdkafka++.so.1
+lib/librdkafka.a
+lib/librdkafka.so
+lib/librdkafka.so.1
+lib/pkgconfig/rdkafka++.pc
+lib/pkgconfig/rdkafka.pc
diff -r e622de471900 -r 24afa0e5b635 devel/librdkafka/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/librdkafka/distinfo Thu Apr 20 08:01:18 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/04/20 08:01:18 fhajny Exp $
+
+SHA1 (librdkafka-0.9.5.tar.gz) = 8cc5ba85d18104c644d7bb9e4e64e8c95cd2f100
+RMD160 (librdkafka-0.9.5.tar.gz) = 56343b3724acb09a2df0f7a42830426bea392158
+SHA512 (librdkafka-0.9.5.tar.gz) = 06b2c7e3dd1c8a84322d256f2470804ba0ac205777cf66c0c98222d3f90ed26d6fcae375ee0343558ccf901d7a8d354009f377a435ecd0ce2d02c73848fbc8a4
+Size (librdkafka-0.9.5.tar.gz) = 753196 bytes
+SHA1 (patch-src_rdkafka__broker.c) = 6c123399f7472e2727731e307ff90a52712f7ec3
diff -r e622de471900 -r 24afa0e5b635 devel/librdkafka/patches/patch-src_rdkafka__broker.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/librdkafka/patches/patch-src_rdkafka__broker.c Thu Apr 20 08:01:18 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_rdkafka__broker.c,v 1.1 2017/04/20 08:01:19 fhajny Exp $
+
+XPG6 is needed.
+
+--- src/rdkafka_broker.c.orig 2017-04-12 08:36:34.000000000 +0000
++++ src/rdkafka_broker.c
+@@ -31,7 +31,7 @@
+ #ifndef _MSC_VER
+ #define _GNU_SOURCE
+ #ifndef _AIX /* AIX defines this and the value needs to be set correctly */
+-#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE 600
+ #endif
+ #include <signal.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index