pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/librdkafka
Module Name: pkgsrc
Committed By: fhajny
Date: Thu Apr 20 08:01:19 UTC 2017
Added Files:
pkgsrc/devel/librdkafka: DESCR Makefile PLIST distinfo
pkgsrc/devel/librdkafka/patches: patch-src_rdkafka__broker.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/librdkafka/DESCR \
pkgsrc/devel/librdkafka/Makefile pkgsrc/devel/librdkafka/PLIST \
pkgsrc/devel/librdkafka/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/librdkafka/patches/patch-src_rdkafka__broker.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/librdkafka/DESCR
diff -u /dev/null pkgsrc/devel/librdkafka/DESCR:1.1
--- /dev/null Thu Apr 20 08:01:19 2017
+++ pkgsrc/devel/librdkafka/DESCR Thu Apr 20 08:01:18 2017
@@ -0,0 +1,2 @@
+librdkafka is a C library implementation of the Apache Kafka protocol,
+containing both Producer and Consumer support.
Index: pkgsrc/devel/librdkafka/Makefile
diff -u /dev/null pkgsrc/devel/librdkafka/Makefile:1.1
--- /dev/null Thu Apr 20 08:01:19 2017
+++ pkgsrc/devel/librdkafka/Makefile Thu Apr 20 08:01:18 2017
@@ -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"
Index: pkgsrc/devel/librdkafka/PLIST
diff -u /dev/null pkgsrc/devel/librdkafka/PLIST:1.1
--- /dev/null Thu Apr 20 08:01:19 2017
+++ pkgsrc/devel/librdkafka/PLIST Thu Apr 20 08:01:18 2017
@@ -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
Index: pkgsrc/devel/librdkafka/distinfo
diff -u /dev/null pkgsrc/devel/librdkafka/distinfo:1.1
--- /dev/null Thu Apr 20 08:01:19 2017
+++ pkgsrc/devel/librdkafka/distinfo Thu Apr 20 08:01:18 2017
@@ -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
Index: pkgsrc/devel/librdkafka/patches/patch-src_rdkafka__broker.c
diff -u /dev/null pkgsrc/devel/librdkafka/patches/patch-src_rdkafka__broker.c:1.1
--- /dev/null Thu Apr 20 08:01:19 2017
+++ pkgsrc/devel/librdkafka/patches/patch-src_rdkafka__broker.c Thu Apr 20 08:01:19 2017
@@ -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