Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 18:12:33 +0000 (UTC)
From:      Rainer Hurling <rhurlin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567864 - in head/net/kafkacat: . files
Message-ID:  <202103081812.128ICX85092235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rhurlin
Date: Mon Mar  8 18:12:33 2021
New Revision: 567864
URL: https://svnweb.freebsd.org/changeset/ports/567864

Log:
  net/kafkacat: Update to 1.6.0
  
  New options AVRO and JSON.
  AVRO broken for now because of upstream problem with pkg-config
  
  Changelog: https://github.com/edenhill/kafkacat/releases/tag/1.6.0
  
  PR:		254093
  Submitted by:	Sergey Akhmatov <sergey@akhmatov.ru> (maintainer)

Deleted:
  head/net/kafkacat/files/
Modified:
  head/net/kafkacat/Makefile
  head/net/kafkacat/distinfo

Modified: head/net/kafkacat/Makefile
==============================================================================
--- head/net/kafkacat/Makefile	Mon Mar  8 18:08:35 2021	(r567863)
+++ head/net/kafkacat/Makefile	Mon Mar  8 18:12:33 2021	(r567864)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	kafkacat
-DISTVERSION=	1.5.0
+DISTVERSION=	1.6.0
 CATEGORIES=	net
 
 MAINTAINER=	sergey@akhmatov.ru
@@ -12,15 +12,28 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	bash:shells/bash
-LIB_DEPENDS=	librdkafka.so:net/librdkafka
+LIB_DEPENDS=	librdkafka.so:net/librdkafka \
+		libyajl.so:devel/yajl
 
 USES=		gmake pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	edenhill
 
+GNU_CONFIGURE=	yes
+
 PLIST_FILES=	bin/kafkacat
 
-GNU_CONFIGURE=	yes
+OPTIONS_DEFINE=	JSON AVRO
+
+AVRO_DESC=	Avro/Schema-Registry support (requires libserdes) [BROKEN]
+JSON_DESC=	JSON support (requires libyajl2)
+
+# avro broken due to bug: https://github.com/apache/avro/pull/1018/commits
+AVRO_BROKEN=		avro support is currently broken
+AVRO_LIB_DEPENDS=	libserdes.so:devel/libserdes
+AVRO_CONFIGURE_ENABLE=	avro
+JSON_LIB_DEPENDS=	libyajl.so:devel/yajl
+JSON_CONFIGURE_ENABLE=	json
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kafkacat

Modified: head/net/kafkacat/distinfo
==============================================================================
--- head/net/kafkacat/distinfo	Mon Mar  8 18:08:35 2021	(r567863)
+++ head/net/kafkacat/distinfo	Mon Mar  8 18:12:33 2021	(r567864)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1568414384
-SHA256 (edenhill-kafkacat-1.5.0_GH0.tar.gz) = 16f358fab258cbefc328cf642f72ee8b5dae1648657d508997279ca5bd0fbef0
-SIZE (edenhill-kafkacat-1.5.0_GH0.tar.gz) = 124682
+TIMESTAMP = 1595406133
+SHA256 (edenhill-kafkacat-1.6.0_GH0.tar.gz) = e67aecd153659d7ea0d561469a1e65038485fe9a3203fa8c9c59a9fe02164bf0
+SIZE (edenhill-kafkacat-1.6.0_GH0.tar.gz) = 131314



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103081812.128ICX85092235>