aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2021-10-06 05:38:23 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2021-10-06 05:42:08 +0000
commit7e8d9b84af9566961709f86c8c5417f722b207af (patch)
tree25ca98d5e2ef6e7d9f752a8cd8d93eb4937827d1
parentd7195ac8027a141efa7a0d646883062518dde07b (diff)
downloadports-7e8d9b84af9566961709f86c8c5417f722b207af.tar.gz
ports-7e8d9b84af9566961709f86c8c5417f722b207af.zip
net/kafkacat: update to 1.7.0, and rename to kcat.
PR: 258061 Reported by: maintainer
-rw-r--r--UPDATING7
-rw-r--r--net/kafkacat/distinfo3
-rw-r--r--net/kafkacat/pkg-descr5
-rw-r--r--net/kcat/Makefile (renamed from net/kafkacat/Makefile)14
-rw-r--r--net/kcat/distinfo3
-rw-r--r--net/kcat/pkg-descr5
-rw-r--r--net/kcat/pkg-message12
7 files changed, 35 insertions, 14 deletions
diff --git a/UPDATING b/UPDATING
index 5fea5496a883..248d6d75a135 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,13 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20211006:
+ AFFECTS: users of net/kafkacat
+ AUTHOR: sergey@akhmatov.ru
+
+ kafkacat has been renamed to kcat upstream.
+ So switch to net/kcat instead.
+
20211004:
AFFECTS: users of net-mgmt/netbox
AUTHOR: kai@FreeBSD.org
diff --git a/net/kafkacat/distinfo b/net/kafkacat/distinfo
deleted file mode 100644
index 3e2df2ed6771..000000000000
--- a/net/kafkacat/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1595406133
-SHA256 (edenhill-kafkacat-1.6.0_GH0.tar.gz) = e67aecd153659d7ea0d561469a1e65038485fe9a3203fa8c9c59a9fe02164bf0
-SIZE (edenhill-kafkacat-1.6.0_GH0.tar.gz) = 131314
diff --git a/net/kafkacat/pkg-descr b/net/kafkacat/pkg-descr
deleted file mode 100644
index e603ba4dadb1..000000000000
--- a/net/kafkacat/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-kafkacat is a generic non-JVM producer and consumer
-for Apache Kafka. Think of it as a netcat for
-Kafka.
-
-WWW: https://github.com/edenhill/kafkacat/
diff --git a/net/kafkacat/Makefile b/net/kcat/Makefile
index efdb5e6d068c..fe58bab20b53 100644
--- a/net/kafkacat/Makefile
+++ b/net/kcat/Makefile
@@ -1,7 +1,7 @@
# Created by: Victor Yagofarov <xnasx@yandex.ru>
-PORTNAME= kafkacat
-DISTVERSION= 1.6.0
+PORTNAME= kcat
+DISTVERSION= 1.7.0
CATEGORIES= net
MAINTAINER= sergey@akhmatov.ru
@@ -12,15 +12,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= librdkafka.so:net/librdkafka \
- libyajl.so:devel/yajl
+ libyajl.so:devel/yajl \
+ liblz4.so:archivers/liblz4 \
+ libzstd.so:archivers/zstd
-USES= gmake pkgconfig
+USES= gmake pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= edenhill
GNU_CONFIGURE= yes
-PLIST_FILES= bin/kafkacat
+PLIST_FILES= bin/kcat
OPTIONS_DEFINE= JSON AVRO
@@ -35,6 +37,6 @@ JSON_LIB_DEPENDS= libyajl.so:devel/yajl
JSON_CONFIGURE_ENABLE= json
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kafkacat
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kcat
.include <bsd.port.mk>
diff --git a/net/kcat/distinfo b/net/kcat/distinfo
new file mode 100644
index 000000000000..a46da552f2ab
--- /dev/null
+++ b/net/kcat/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629983664
+SHA256 (edenhill-kcat-1.7.0_GH0.tar.gz) = baaed3cb6f5ade6a01355edb8819365e263a325375bee50727e009810e49cb38
+SIZE (edenhill-kcat-1.7.0_GH0.tar.gz) = 140508
diff --git a/net/kcat/pkg-descr b/net/kcat/pkg-descr
new file mode 100644
index 000000000000..7722bac9c410
--- /dev/null
+++ b/net/kcat/pkg-descr
@@ -0,0 +1,5 @@
+kcat is a generic non-JVM producer and consumer
+for Apache Kafka. Think of it as a netcat for
+Kafka.
+
+WWW: https://github.com/edenhill/kcat/
diff --git a/net/kcat/pkg-message b/net/kcat/pkg-message
new file mode 100644
index 000000000000..129b7dffa73c
--- /dev/null
+++ b/net/kcat/pkg-message
@@ -0,0 +1,12 @@
+[
+{
+ type: install
+ message: <<EOM
+kafkacat has been renamed to kcat
+If you're upgrading from earlier release to 1.7.0 please consider:
+- renaming any kafkacat.conf files to kcat.conf
+- renaming any KAFKACAT_CONF environment variables to KCAT_CONF
+https://github.com/edenhill/kcat/releases/tag/1.7.0
+EOM
+}
+]