pkgsrc/devel/librdkafka/Makefile
fhajny 8be0dc8331 Update devel/librdkafka to 0.11.3.
Default changes
- Change default queue.buffering.max.kbytes and
  queued.max.message.kbytes to 1GB
- win32: Use sasl.kerberos.service.name for broker principal, not
  sasl.kerberos.principal

Enhancements
- Default producer message offsets to OFFSET_INVALID rather than 0
- new nuget package layout + debian9 librdkafka build
- Allow for calling rd_kafka_queue_io_event_enable() from the C++
  world
- rdkafka_performance: allow testing latency with different size
  messages

Fixes
- Improved stability on termination
- offsets_for_times() return ERR__TIMED_OUT if brokers did not respond
  in time
- Let list_groups() return ERR__PARTIAL with a partial group list
- Properly handle infinite
- Fix offsets_store() return value when at least one valid partition
- portability: rdendian: add le64toh() alias for older glibc
- Add MIPS build and fix CRC32 to work on big endian CPUs
- osx: fix endian checking for software crc32c
- Fix comparison in rd_list_remove_cmp
- stop calling cnd_timedwait() with a timeout of 0h
- Fix DNS cache logic broker.address.ttl
- Fix broker thread "hang" in CONNECT state
- Reset rkb_blocking_max_ms on broker DOWN to avoid busy-loop during
  CONNECT
- Fix memory leak when producev() fails
- Raise cmake minimum version to 3.2
- Do not assume LZ4 worst
- Fix ALL_BROKERS_DOWN re-generation
- rdkafka-performance: busy wait to wait short periods of time
2017-12-09 16:57:04 +00:00

34 lines
847 B
Makefile

# $NetBSD: Makefile,v 1.5 2017/12/09 16:57:04 fhajny Exp $
DISTNAME= librdkafka-0.11.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=edenhill/}
MAINTAINER= filip@joyent.com
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
CONFIG_SHELL= bash
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --enable-lz4
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --disable-sasl
TEST_TARGET= check
PYTHON_FOR_BUILD_ONLY= yes
.include "../../archivers/lz4/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"