diff options
author | William Hubbs <williamh@gentoo.org> | 2022-10-14 14:13:27 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-10-14 14:13:46 -0500 |
commit | 17e61b58f34afed0450afb681b5357aaad665fff (patch) | |
tree | e7b488d6176f0c642afe6766037cec432c35614e | |
parent | dev-ml/sexplib: adj deps (diff) | |
download | gentoo-17e61b58f34afed0450afb681b5357aaad665fff.tar.gz gentoo-17e61b58f34afed0450afb681b5357aaad665fff.tar.bz2 gentoo-17e61b58f34afed0450afb681b5357aaad665fff.zip |
net-misc/kafkacat: add 1.7.1
Closes: https://bugs.gentoo.org/870091
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r-- | net-misc/kafkacat/Manifest | 1 | ||||
-rw-r--r-- | net-misc/kafkacat/kafkacat-1.7.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/kafkacat/Manifest b/net-misc/kafkacat/Manifest index c8b35d68d1f6..dcd3d33b09ad 100644 --- a/net-misc/kafkacat/Manifest +++ b/net-misc/kafkacat/Manifest @@ -1 +1,2 @@ DIST kafkacat-1.5.0.tar.gz 124682 BLAKE2B 392689ded1cd07268bba572273b2b18dbac0d0f4c2daf87c0a4c5fbbff2568df7ec5ca7b64aed34caa851b5e9b8629e246f9d19087496a882b8b55b2e2138f78 SHA512 57f75b26ef32df244043fa9fc17dc2d6fd93daeea4bc389aa78356ea6e45dea780ff9c3462ed27d2a7798560a21eef04f098bf7766c7305bcee4573f557651ad +DIST kcat-1.7.1.tar.gz 142699 BLAKE2B 2736d284d9f1f940688a3605db3a966ddee0cb26cc271d0d288f5910a86b8d494e207757d5d35e445ea99bb4a0a218715401815167734eee3942d7de6573baaf SHA512 07aa442a840819ca8d1ab20d86fe9d07afee0e4fa546b033ceb0c1c526f3fb5d9fbd2c34c29460d3439c5046b836605150dc76e85072d9516d82b9a193a0a3cd 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" +} |