summaryrefslogtreecommitdiff
path: root/net-misc/kafkacat
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/kafkacat')
-rw-r--r--net-misc/kafkacat/Manifest2
-rw-r--r--net-misc/kafkacat/kafkacat-1.7.1.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/kafkacat/Manifest b/net-misc/kafkacat/Manifest
index 47fb25b55cd7..43fa15657745 100644
--- a/net-misc/kafkacat/Manifest
+++ b/net-misc/kafkacat/Manifest
@@ -1,3 +1,5 @@
DIST kafkacat-1.5.0.tar.gz 124682 BLAKE2B 392689ded1cd07268bba572273b2b18dbac0d0f4c2daf87c0a4c5fbbff2568df7ec5ca7b64aed34caa851b5e9b8629e246f9d19087496a882b8b55b2e2138f78 SHA512 57f75b26ef32df244043fa9fc17dc2d6fd93daeea4bc389aa78356ea6e45dea780ff9c3462ed27d2a7798560a21eef04f098bf7766c7305bcee4573f557651ad
+DIST kcat-1.7.1.tar.gz 142699 BLAKE2B 2736d284d9f1f940688a3605db3a966ddee0cb26cc271d0d288f5910a86b8d494e207757d5d35e445ea99bb4a0a218715401815167734eee3942d7de6573baaf SHA512 07aa442a840819ca8d1ab20d86fe9d07afee0e4fa546b033ceb0c1c526f3fb5d9fbd2c34c29460d3439c5046b836605150dc76e85072d9516d82b9a193a0a3cd
EBUILD kafkacat-1.5.0.ebuild 667 BLAKE2B 912e8c4ee0f788eed5024f008031db1bdf47fa46909f9b5a7b8e1c84ede1cf2724796fda1e2ddcf3ecee3fcceddf00cd872795fceab8b7a4d84da9ea07a58efb SHA512 a69fd7fe4268b5e42c2da2e058f10fa53975b45fa56675e2be9756a84bc0dcf8137f0f020dd11d4ec282198c9ab24e18fe21cd692ba10452736b86c0aa390187
+EBUILD kafkacat-1.7.1.ebuild 869 BLAKE2B 06393c2be6ccbdcf16f3cb8f15a7ef46a7fc97d53bc43f2c0b5241043cdad500c3912daef3712c678f8ec0e3a2ba625ee9bd359314979ededd0a151b8dfb93cf SHA512 df3e3c90ca718737a3829eaeca45ab94d3a7bc4b912fd13fae14f43925aef67f18789ec19d6fdd2d5bcc81e11b8dc0b5cb4a9db231ab44b85ae901fb75df0453
MISC metadata.xml 468 BLAKE2B a9a00808af0af8c2a3183f35ccef3edd15c2772d99c3c01e2a0da115dafe46c89449d1dbe7119e08c294c7d53372ac4a6dc31d5cc956c66b73350143472af09b SHA512 d1cdf304cc2cca1744e2092b50db577b981d8684ebfa4a4d099bd84bada67e00558c439d9a735bc43247db598fa34e0419dd3fcaae94ae68246baf003bbffca8
diff --git a/net-misc/kafkacat/kafkacat-1.7.1.ebuild b/net-misc/kafkacat/kafkacat-1.7.1.ebuild
new file mode 100644
index 000000000000..9534872d1cd2
--- /dev/null
+++ b/net-misc/kafkacat/kafkacat-1.7.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+MY_PN=kcat
+
+inherit toolchain-funcs
+
+DESCRIPTION="Generic command line non-JVM Apache Kafka producer and consumer"
+HOMEPAGE="https://github.com/edenhill/kcat"
+SRC_URI="https://github.com/edenhill/kcat/archive/${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+avro +json"
+
+DEPEND=">=dev-libs/librdkafka-0.9.4
+ avro? (
+ dev-libs/avro-c
+ dev-libs/libserdes
+ )
+ json? ( dev-libs/yajl )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+ econf $(use_enable avro) $(use_enable json) --cc="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ dodoc CHANGELOG.md
+ doman ${MY_PN}.1
+}
+
+pkg_postinst() {
+ ewarn "Note that starting with version 1.7.1 the executable name"
+ ewarn "was changed from kafkacat to kcat"
+}