diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/kafka-bin |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/kafka-bin')
-rw-r--r-- | net-misc/kafka-bin/Manifest | 23 | ||||
-rw-r--r-- | net-misc/kafka-bin/files/kafka-zookeeper.init.d | 19 | ||||
-rw-r--r-- | net-misc/kafka-bin/files/kafka.init.d | 18 | ||||
-rwxr-xr-x | net-misc/kafka-bin/files/kafka.init.d.2 | 22 | ||||
-rw-r--r-- | net-misc/kafka-bin/files/kafka.init.d.3 | 22 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.0.1.ebuild | 61 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.1.0-r1.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.1.0.ebuild | 61 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.1.1.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.2.0.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.2.1-r1.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.10.2.1.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.11.0.0-r1.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.11.0.0.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/kafka-bin-0.11.0.1.ebuild | 62 | ||||
-rw-r--r-- | net-misc/kafka-bin/metadata.xml | 10 |
16 files changed, 732 insertions, 0 deletions
diff --git a/net-misc/kafka-bin/Manifest b/net-misc/kafka-bin/Manifest new file mode 100644 index 000000000000..676b28f56635 --- /dev/null +++ b/net-misc/kafka-bin/Manifest @@ -0,0 +1,23 @@ +AUX kafka-zookeeper.init.d 506 SHA256 18ac63afc84634f89b879f5950a1f8527f2edb83c85a7aa6cf48739aea912e30 SHA512 96656e81a296c989fa5dcbab4831b6ca12841ef8e902d32b3100196e0dfc1984ba6d4eb426ade14ef8b4299ea9665753a0af22e8e7f4b7947424d5529d2f7010 WHIRLPOOL 96769057f186f7c99841d8a0fd9014123062b6ee1635bde0b5861548ff35b9551d665d2df11330d2dc384207ad926ef363e94a021a892c09ecebf978d2872792 +AUX kafka.init.d 497 SHA256 18fc61669652d7e8930cc7b29414685db7c46c8c83def7866eff87ed3ad42d2a SHA512 2e0ff5d5b95e39b08b234b38535a5fa4b3cb1d63ed1af7f107f1babdcded77f296999c0f9fa5e253408f4003b1a9a11a33533502a07fbdb0911314005bb98148 WHIRLPOOL 9f9f660b16bb65cae2f5bb9fa85d10777dd7aa613af64d6b9731607501884aabaffaf50da6b47c0f6459e0d2e79d0694552b23cacaff54285bac32616485d2fc +AUX kafka.init.d.2 668 SHA256 83c82b4f6db22ea7aeddef6fb3b9a67a89b9b3acd7cf8bd91ee7689da8c81642 SHA512 1a7b0c6ba64ed5b9697776dc49688e53b55846b0f65ae97e3cd551db3fe700f319f78bb2c6f0f4e77102f754f1c2d3a7bbd303e2cbeb17c0ed99ef878313a5f5 WHIRLPOOL a8144bdc7b95ba3130e3dbcb02dd3189889f2dfd1f949f8e3a16bbf658d35cd97ebfc6660511af2c74a3ad2fc9b33c005bcc809fa88582fb43725fc070020733 +AUX kafka.init.d.3 671 SHA256 1cd1206d53cdec1963f7c29a6efbeba44ee018daa1ca85577709f4040c6a1376 SHA512 45478ae4733a498a6bf3604359943f003056dc77f3eb382bd7e7c04a5e9cee34fb07170c67bf306e4b09a49b3e0665fe760d1ceb37a09b174b3e9c3f519bdddc WHIRLPOOL 4fe1f37101b92ac378471d421b5a736679ecc304e754cfbc14e78eea7e10190a6b44b3c7d42b6ca9c90da77fe9d761f7e8b4244a0b9910b819a89823b2e3c364 +DIST kafka_2.11-0.10.0.1.tgz 31831257 SHA256 2d73625aeddd827c9e92eefb3c727a78455725fbca4361c221eaa05ae1fab02d SHA512 ab89c1d0cf4e05e823f45629e7bc5778173fd7420ebfa259f566071c6b474b08abf808508c7fd6fcca2233b20e76cbf6a235563709bfa019455386f80f0b5d71 WHIRLPOOL 5928d39afdaa4b7cc3839b2555229d42ecc9b3ccd6c76cb2dfd1a7fd4f2fcb2ac9abd055b7c698b5d82232df10e10d4c2f2fd525e880a9c0ed78550e2cf2d28e +DIST kafka_2.11-0.10.1.0.tgz 34373824 SHA256 6d9532ae65c9c8126241e7b928b118aaa3a694dab08069471f0e61f4f0329390 SHA512 b47a26813395b5bed5bb3f874727d4a1cae13480732aee3014d66afdbe1ec8ed6ed8c9de4feff67d18492088b5e927516a8ce13f355ce985ec0144608509d30b WHIRLPOOL ce23da1e53bb8ec65d0235f932454ef1f9c9a425f259328b1ec142c230fa92da75c1f279c66df53755cdd439bad7d8a7d6ea0c2864fccf22d79e1546c73cf588 +DIST kafka_2.11-0.10.1.1.tgz 34424602 SHA256 1540800779429d8f0a08be7b300e4cb6500056961440a01c8dbb281db76f0929 SHA512 6d996946ee5d798f0af8ffa2bddc1dc23632761488556e765ba731acae28e2d65f4ca3f0648caa7bbb14947daf3e1862d9959f271eff5e0625c780a7169c6f72 WHIRLPOOL 8762937838dc0ca4b2fa943d4714a691b77bcfaa52c5cff1fde3bff6296600fb5754c464b04dd1a53571bcb34637890f10cc2a82ba1a7c8366c8914d06ad7c9a +DIST kafka_2.11-0.10.2.0.tgz 37630750 SHA256 4c9e73059dea2dcb5022135f8e7eff5f187ffcc27a27b365b326ee61040214cd SHA512 3d972cdccdbe889b73b8d5ec68e8a0bc5daabed29ec8f1f217e22887534eba8f3127886c07950a673c55d289a9dbd077763141eb883b5f9e2fe8b56b4524941c WHIRLPOOL 75ecf95f80ed2295eebb910fdd50e6cb44aba0fe79cee724bbace6f024a34d2d2fc1fd84f987877476e8f1c46a7f61000b833c0422be6d5daa8ce175e8a9a28a +DIST kafka_2.12-0.10.2.1.tgz 34046244 SHA256 e523b448b24a908202c35f12fd0caaa49ce70070305c360f7ed2270bb2c95f47 SHA512 48884838980ff182fe1bb089b5f8db91aaa190dad9f9cbf24d762ba8afb897546f66d66ce110eef87ad1541e06564e5ea455e4698a23fbd296d971e033953bbc WHIRLPOOL f6fa89a778828d84824e867db84bd3e7d40ceb389beb29bef079ef9220ab8010a2d39e51a42a12abb3446bb96bcee560bfa6966c1681185532eabfc75f065a0f +DIST kafka_2.12-0.11.0.0.tgz 36644420 SHA256 ab6310dd0d9fce1e6e8045b51b471fb35c3e197714e6e6b03bc5864898785f2d SHA512 60b44930700ab42e4a0e3945b6eb32db422d2e62388b4fee68aef97aea939fd252ebd0be39b36a4e6149aff9dcbd5b0578095d8a8812bd75111a65299aa5af55 WHIRLPOOL 33485fab4501501b608d8709ed59e9a0531b0adaaf1cdbd54c5f5cfb1e36b6a00cb8e0cc0d1f5eb6068b00bd5ebe1d26d3aa39d5096a52cf71c498f7912fa6ae +DIST kafka_2.12-0.11.0.1.tgz 37227486 SHA256 c776f2dbb7f4e1af6b61e32d482b513a1788bf5f39602746b005ab92601a46f2 SHA512 e85b152a0865e068309d3117b874010895389761da43ec62c87e2e4cffa5c8ea0eed6ea6beceae87d437ffabb143d6bc36408b1387985f2b90fe8b9c8201f29e WHIRLPOOL 9e06a4a9e0d2aea98b12f4fa20f7a8c9a58c7e845283ea0508ecbbe81d7f91eb7ffba054a40da47fa35fec1da777c6c6934c6ec9fbeb6cee8a0e3a05bac8872b +EBUILD kafka-bin-0.10.0.1.ebuild 1440 SHA256 7a333d25b37eb1417fdf4669813796f7d181f79bfd8cd55580c4e6ded162c809 SHA512 f2bb54ee5bb241b93c964f0ec2ac8298c86dca304f857194864580bddf65764cb8b27961d4e3b750d6624e1747a4284d69d557a4ba7eba9775400c131cc05829 WHIRLPOOL 3a91d315890e1c04a0c813565015afa91853a3679f4fa8f3eeaee1e10c4d23877b3caa9c59e4c203b3e620aa153eaac3e37e1743506e0ecd68c0a3e4b34a69a9 +EBUILD kafka-bin-0.10.1.0-r1.ebuild 1471 SHA256 14b239e79368b43ad8dc3fa3ec81b3bd67551ed73c2ed801a2873084e2bcc6a3 SHA512 cca27e43b7dd964699e3de6dc1b69f4a6e102516280656f0c5e171ab49e9ad731bd645001dbda4cf22b9c66202b36e9565ff354056c81b19b97bf71954f6d463 WHIRLPOOL b7ffadb5313fbbacc22f72f0da239cdf89948331b5deee4e7a00fd8b56ea8295fdc29ba5845bad53357677901665f8d588c35587a37db02d3eadf218334adb8a +EBUILD kafka-bin-0.10.1.0.ebuild 1440 SHA256 7a333d25b37eb1417fdf4669813796f7d181f79bfd8cd55580c4e6ded162c809 SHA512 f2bb54ee5bb241b93c964f0ec2ac8298c86dca304f857194864580bddf65764cb8b27961d4e3b750d6624e1747a4284d69d557a4ba7eba9775400c131cc05829 WHIRLPOOL 3a91d315890e1c04a0c813565015afa91853a3679f4fa8f3eeaee1e10c4d23877b3caa9c59e4c203b3e620aa153eaac3e37e1743506e0ecd68c0a3e4b34a69a9 +EBUILD kafka-bin-0.10.1.1.ebuild 1471 SHA256 14b239e79368b43ad8dc3fa3ec81b3bd67551ed73c2ed801a2873084e2bcc6a3 SHA512 cca27e43b7dd964699e3de6dc1b69f4a6e102516280656f0c5e171ab49e9ad731bd645001dbda4cf22b9c66202b36e9565ff354056c81b19b97bf71954f6d463 WHIRLPOOL b7ffadb5313fbbacc22f72f0da239cdf89948331b5deee4e7a00fd8b56ea8295fdc29ba5845bad53357677901665f8d588c35587a37db02d3eadf218334adb8a +EBUILD kafka-bin-0.10.2.0.ebuild 1471 SHA256 75401f0a9137ede098c4c1ad0660fc2bf7fa4ab53ec5ed384695e09c216e8835 SHA512 0bb15ebc348ae68a0eee243ea3102779e6a00a3357afae770e3cdd8346e42508052b58fbe2e495b37d234c3d258dfb10e76e0b792d6002f4425ef0914a91c228 WHIRLPOOL d17a9607c4c73e32cc654e04caaa0ea61eac6d82f22a51b5c2a442cb07846ee3b8a23ab256e76c1ef8d8a0e0c797b28722777c11cb5d71ee2afb7e06ab38bd74 +EBUILD kafka-bin-0.10.2.1-r1.ebuild 1473 SHA256 a97c66866c3fef06ea807587c80bad996f34a6ad0dacc401be908ada3c0c0920 SHA512 00004f94903a431797858689d162545e57c40d3e62e7c9ed3250338744b2c5c48433d5c1184d731663d156650ad08676030cb6066188a15eafbd038818a425fb WHIRLPOOL 5cded0566f96ab21a7fa90e44c5e8702e76e6eea3356d363cc4a44cf5162e498c638fc147f55777dd007ceb2f31a26514c920dcf2bff7dcf306f15291685a930 +EBUILD kafka-bin-0.10.2.1.ebuild 1471 SHA256 0d2428fd1232c7fb2f357f454470749ba5a5b02975f1698af51e9ad265494dd5 SHA512 202e2f909043c380ef42bab813749490ab7ec57d738eaad6cf79e5cb7ceb8f2e0baf285a63ccaf3e12f00cc22d325f9aa7d421a5662d0f472249bd06e933b493 WHIRLPOOL a982f19ada8906cc285248b5c567a56bef2cc68d03f11e4e7ecf3640043ff1ef0a6fc226215c8124f419cc3fd0060cb70bfb197ce7865ca3b93697080194dbf5 +EBUILD kafka-bin-0.11.0.0-r1.ebuild 1473 SHA256 a97c66866c3fef06ea807587c80bad996f34a6ad0dacc401be908ada3c0c0920 SHA512 00004f94903a431797858689d162545e57c40d3e62e7c9ed3250338744b2c5c48433d5c1184d731663d156650ad08676030cb6066188a15eafbd038818a425fb WHIRLPOOL 5cded0566f96ab21a7fa90e44c5e8702e76e6eea3356d363cc4a44cf5162e498c638fc147f55777dd007ceb2f31a26514c920dcf2bff7dcf306f15291685a930 +EBUILD kafka-bin-0.11.0.0.ebuild 1471 SHA256 0d2428fd1232c7fb2f357f454470749ba5a5b02975f1698af51e9ad265494dd5 SHA512 202e2f909043c380ef42bab813749490ab7ec57d738eaad6cf79e5cb7ceb8f2e0baf285a63ccaf3e12f00cc22d325f9aa7d421a5662d0f472249bd06e933b493 WHIRLPOOL a982f19ada8906cc285248b5c567a56bef2cc68d03f11e4e7ecf3640043ff1ef0a6fc226215c8124f419cc3fd0060cb70bfb197ce7865ca3b93697080194dbf5 +EBUILD kafka-bin-0.11.0.1.ebuild 1473 SHA256 7e0dc4409ea4beeb9c2996368770881cab42800c6a32542706121ba8f8b79a76 SHA512 c4c99f4f2cd3519002d12b0fa59ed79470896e6bacfae6147bae6079338f3b8c850a80f19945ba272f08818440d7726c4bf51a2f744d0ee8314002ff9cb04977 WHIRLPOOL d1500a205e193f6ef3d485735b381974d232079f1ae98c8f57e0414768194a9bba10701f961a4a5eb3888142bc76cecb6d478102823a4497f59cf9434e43438f +MISC ChangeLog 974 SHA256 d06420e9e44c48f6841e32da1190c8382b8143d515b9830d24725771f9d61b57 SHA512 d9b1f5ef3d5eb48e84c703f673bd4d36694be545fad51b2f8ce7d934170ffdbb642aa3438c2d8ffa0a20b87fdcb9a9ed356d124cf1c721c28042653c2fcbe67e WHIRLPOOL 8528e11289aecc0561c2b73f9b6f852a4cb624e8c4fc48d8568c4fadad2bb063bb7c83bf07b62dfec03d57d8ff54921df9599be806dcf1e3a6200ed5561f404d +MISC metadata.xml 339 SHA256 19ef725201582ea15102779ce1b3f05261602a0ae719e9b92c09d1e29e9fbd09 SHA512 6aa179782d22d0b46934d90984c983aae6876461e077bebff7aaaf58687400881b76b658e468f780a88b1b6fb8f1d7d75c061fd16767d658af80c9e54cb3bfe4 WHIRLPOOL 055b6350a71e9d409936898b070f19c514e78f6a61c861b6d3ed728497284837b2c4792cf6dc2bc7647aec47b0d474d3ec6ba7acd02683ec1995a5b9de503a0d diff --git a/net-misc/kafka-bin/files/kafka-zookeeper.init.d b/net-misc/kafka-bin/files/kafka-zookeeper.init.d new file mode 100644 index 000000000000..fd70cdc5aa74 --- /dev/null +++ b/net-misc/kafka-bin/files/kafka-zookeeper.init.d @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Zookeeper for Kafka distributed messaging system" + +logfile="/var/log/kafka-zookeeper.log" + +command="/opt/kafka/bin/zookeeper-server-start.sh" +command_args="/etc/kafka/zookeeper.properties" +start_stop_daemon_args="--chdir /opt/kafka --stdout $logfile --stderr $logfile" + +command_background=yes +pidfile=/run/kafka-zookeeper.pid + +depend() { + need net + after bootmisc +} diff --git a/net-misc/kafka-bin/files/kafka.init.d b/net-misc/kafka-bin/files/kafka.init.d new file mode 100644 index 000000000000..3b23a7fac7c9 --- /dev/null +++ b/net-misc/kafka-bin/files/kafka.init.d @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Kafka distributed messaging system" + +logfile="/var/log/kafka/kafka.log" + +command="/opt/kafka/bin/kafka-server-start.sh" +command_args="/etc/kafka/server.properties" +start_stop_daemon_args="--user kafka --chdir /opt/kafka --stdout $logfile --stderr $logfile" + +command_background=yes +pidfile=/run/kafka.pid + +depend() { + after zookeeper kafka-zookeeper +} diff --git a/net-misc/kafka-bin/files/kafka.init.d.2 b/net-misc/kafka-bin/files/kafka.init.d.2 new file mode 100755 index 000000000000..87b4b47a4469 --- /dev/null +++ b/net-misc/kafka-bin/files/kafka.init.d.2 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Kafka distributed messaging system" + +logfile="/var/log/kafka/kafka.log" + +command="/opt/kafka/bin/kafka-server-start.sh" +command_args="/etc/kafka/server.properties" + +command_background=yes +pidfile=/run/kafka.pid + +start() { + start-stop-daemon --start --background --user kafka --chdir /opt/kafka --stdout $logfile --stderr $logfile \ + --env KAFKA_HEAP_OPTS="${KAFKA_HEAP_OPTS}" \ + --pidfile $pidfile --exec /opt/kafka/bin/kafka-server-start.sh -- /etc/kafka/server.properties +} +depend() { + after zookeeper kafka-zookeeper +} diff --git a/net-misc/kafka-bin/files/kafka.init.d.3 b/net-misc/kafka-bin/files/kafka.init.d.3 new file mode 100644 index 000000000000..c355f21612ca --- /dev/null +++ b/net-misc/kafka-bin/files/kafka.init.d.3 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Kafka distributed messaging system" + +logfile="/var/log/kafka/kafka.log" + +command="/opt/kafka/bin/kafka-server-start.sh" +command_args="/etc/kafka/server.properties" + +command_background=yes +pidfile=/run/kafka.pid + +start() { + start-stop-daemon --start --background --user kafka --chdir /opt/kafka --stdout $logfile --stderr $logfile \ + -m --env KAFKA_HEAP_OPTS="${KAFKA_HEAP_OPTS}" \ + --pidfile $pidfile --exec /opt/kafka/bin/kafka-server-start.sh -- /etc/kafka/server.properties +} +depend() { + after zookeeper kafka-zookeeper +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.0.1.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.0.1.ebuild new file mode 100644 index 000000000000..f4a9a59a79ec --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.0.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.11 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.1.0-r1.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.1.0-r1.ebuild new file mode 100644 index 000000000000..819491ebdd47 --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.1.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.11 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.1.0.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.1.0.ebuild new file mode 100644 index 000000000000..f4a9a59a79ec --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.1.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.11 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.1.1.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.1.1.ebuild new file mode 100644 index 000000000000..819491ebdd47 --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.1.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.11 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.2.0.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.2.0.ebuild new file mode 100644 index 000000000000..e75d073295aa --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.11 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.2.1-r1.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.2.1-r1.ebuild new file mode 100644 index 000000000000..36e9ed9e938d --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.2.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.12 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d.2" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.10.2.1.ebuild b/net-misc/kafka-bin/kafka-bin-0.10.2.1.ebuild new file mode 100644 index 000000000000..e5705a4e5401 --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.10.2.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.12 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.11.0.0-r1.ebuild b/net-misc/kafka-bin/kafka-bin-0.11.0.0-r1.ebuild new file mode 100644 index 000000000000..36e9ed9e938d --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.11.0.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.12 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d.2" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.11.0.0.ebuild b/net-misc/kafka-bin/kafka-bin-0.11.0.0.ebuild new file mode 100644 index 000000000000..e5705a4e5401 --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.11.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.12 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/kafka-bin-0.11.0.1.ebuild b/net-misc/kafka-bin/kafka-bin-0.11.0.1.ebuild new file mode 100644 index 000000000000..a3d76ba672ca --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-0.11.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils user + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="http://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.12 +MY_PN="kafka" +MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" +SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" + +RESTRICT="mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="internal-zookeeper" + +RDEPEND=" + || ( virtual/jre:1.8 virtual/jre:1.7 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +pkg_setup() { + enewgroup kafka + enewuser kafka -1 /bin/sh /var/lib/kafka kafka +} + +src_prepare() { + sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die + sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die +} + +src_install() { + insinto /etc/kafka + doins config/zookeeper.properties config/server.properties + if use "internal-zookeeper"; then + keepdir /var/lib/kafka/zookeeper + newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper" + fi + + keepdir /var/lib/kafka + fowners -R kafka:kafka /var/lib/kafka + + keepdir /var/log/kafka + fowners -R kafka:kafka /var/log/kafka + + newinitd "${FILESDIR}/${MY_PN}.init.d.3" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} diff --git a/net-misc/kafka-bin/metadata.xml b/net-misc/kafka-bin/metadata.xml new file mode 100644 index 000000000000..0cd421684a02 --- /dev/null +++ b/net-misc/kafka-bin/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + </maintainer> + <use> + <flag name="internal-zookeeper">Use bundled local zookeeper instance</flag> + </use> +</pkgmetadata> |