From 1c724102ee86c2c9fc156106acc870f69a4764c3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 21 Sep 2022 17:26:21 +0100 Subject: gentoo auto-resync : 21:09:2022 - 17:26:21 --- net-misc/Manifest.gz | Bin 55202 -> 55204 bytes net-misc/gnome-remote-desktop/Manifest | 4 +- .../gnome-remote-desktop-43.0.ebuild | 70 +++++++++++++++++++++ net-misc/gnome-remote-desktop/metadata.xml | 3 + net-misc/kafka-bin/Manifest | 20 +++--- net-misc/kafka-bin/kafka-bin-2.8.1.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-2.8.2.ebuild | 69 ++++++++++++++++++++ net-misc/kafka-bin/kafka-bin-3.0.1-r1.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-3.0.1.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-3.0.2.ebuild | 69 ++++++++++++++++++++ net-misc/kafka-bin/kafka-bin-3.1.0-r1.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-3.1.0.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-3.1.1.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-3.1.2.ebuild | 69 ++++++++++++++++++++ net-misc/kafka-bin/kafka-bin-3.2.0.ebuild | 69 -------------------- net-misc/kafka-bin/kafka-bin-3.2.3.ebuild | 69 ++++++++++++++++++++ 16 files changed, 360 insertions(+), 496 deletions(-) create mode 100644 net-misc/gnome-remote-desktop/gnome-remote-desktop-43.0.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-2.8.1.ebuild create mode 100644 net-misc/kafka-bin/kafka-bin-2.8.2.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-3.0.1-r1.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-3.0.1.ebuild create mode 100644 net-misc/kafka-bin/kafka-bin-3.0.2.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-3.1.0-r1.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-3.1.0.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-3.1.1.ebuild create mode 100644 net-misc/kafka-bin/kafka-bin-3.1.2.ebuild delete mode 100644 net-misc/kafka-bin/kafka-bin-3.2.0.ebuild create mode 100644 net-misc/kafka-bin/kafka-bin-3.2.3.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index fc6033602fbb..b9f8b2bedef1 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/gnome-remote-desktop/Manifest b/net-misc/gnome-remote-desktop/Manifest index 56bf37ee1441..e77b57c34af8 100644 --- a/net-misc/gnome-remote-desktop/Manifest +++ b/net-misc/gnome-remote-desktop/Manifest @@ -1,3 +1,5 @@ DIST gnome-remote-desktop-42.4.tar.xz 165500 BLAKE2B c1221d5aa91fcbc5c6defd902674f210e9132495202659dbacffcb7da17042a2ad73d938a147c63a77e822b34dfee9300226fd0180e321b3087057c7e2365268 SHA512 dc040e216c7cff4a2f95d706d7916489ba0a871dff502fbc5ef81d374f7ea1edc32286d32ad07f961a3bc55b353663e72296042b61837c3479fc929bd1253d98 +DIST gnome-remote-desktop-43.0.tar.xz 195212 BLAKE2B ccfb43075ce6e36de4bcf3f92265e6596b78831393e3d6b079ef71ae729a9d48fdf177673b4b7e67db8c92a0d397461c60727780f18ff78c671eac6a01229ab4 SHA512 d774d85ef15b02f6c668806e8d7b036c3063decbec81a8cf253aaa01e13a49d802f4338e677744867e2e1ab3dc02ed30c8d8edbca2a9c428b783d5a4cdd8d110 EBUILD gnome-remote-desktop-42.4.ebuild 1260 BLAKE2B e16100517cfefbade34a12ff2d2a68491a345c5be6e6396fee0471ae41457daa641a5a644d1c38440c6d5579abb86b8162c97b11f4cea240b750b339dca3b68a SHA512 d07d5b6a60cbafc21b979904944105b8e3996a21e5e88661d66246022ea7e968e0dd35b720c3f697ab77dfd8d1f5df04793821864ac1b3b042fbdbbf07f3e023 -MISC metadata.xml 254 BLAKE2B de7a97001e5947704f42973c8a0c3a23c2d80afb976254f5fd21e9d372a946e055d4cdc3c0eaed010505f87929b56e8b1e650c945e2a302644adbc9440833be8 SHA512 c81da4f9b80e5691a167f4590906952e25356604ec17689c005be14efb394c0634776bbe84df936edde239480bdf46db41216b00da4a3a45f670e9ca18ab0132 +EBUILD gnome-remote-desktop-43.0.ebuild 1331 BLAKE2B 23045bcda8b0966bf797b12a63ec07edc0471b161184f8f26e505346e372bda7349b8cf535e460dc421730352f581a1740d872a1ad7fb2e79b34e9ca81d098ad SHA512 3ec12d5417e7f0196cb069b471a6f5ba3df61f7d09d46ce7dc24a53d60d7b3276e868f916fcf85cd5952e5000a161f6a93e87efca676f760be33ec438b74faa1 +MISC metadata.xml 377 BLAKE2B c80586f2728c8cb251627cbccf05a537496b97f46557b7c9030ed133332e9cef58ca45bc3c892f9a372b3e6014a9cbf76ec09fa7a9a5fed75dc47d145544b066 SHA512 8a3bb117450d2922322c1ea09c3388758909041eceda4e97738b5c67e27be037447cc2d33b7fecf37f0faec51d617d160977bf688f651e860cb7f5ce30c11083 diff --git a/net-misc/gnome-remote-desktop/gnome-remote-desktop-43.0.ebuild b/net-misc/gnome-remote-desktop/gnome-remote-desktop-43.0.ebuild new file mode 100644 index 000000000000..e47a5ae09642 --- /dev/null +++ b/net-misc/gnome-remote-desktop/gnome-remote-desktop-43.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson systemd xdg + +DESCRIPTION="Remote desktop daemon for GNOME using pipewire" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-remote-desktop" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="aac doc +rdp systemd +vnc" +REQUIRED_USE="|| ( rdp vnc ) aac? ( rdp )" +RESTRICT="test" # Tests run xvfb-run directly + +DEPEND=" + x11-libs/cairo + x11-libs/libdrm + >=media-libs/libepoxy-1.4 + >=dev-libs/glib-2.68:2 + x11-libs/libnotify + app-crypt/libsecret + >=media-video/pipewire-0.3.49:= + app-crypt/tpm2-tss + rdp? ( + >=media-libs/nv-codec-headers-11.1.5.0 + >=net-misc/freerdp-2.8.0:=[server] + >=sys-fs/fuse-3.9.1 + >=x11-libs/libxkbcommon-1.0.0 + + aac? ( + media-libs/fdk-aac + ) + ) + vnc? ( + net-libs/libvncserver + ) +" +RDEPEND="${DEPEND} + x11-wm/mutter[screencast] +" +BDEPEND=" + dev-util/gdbus-codegen + dev-util/glib-utils + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use doc man) + $(meson_use aac fdk_aac) + $(meson_use rdp) + $(meson_use vnc) + $(meson_use systemd) + -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/net-misc/gnome-remote-desktop/metadata.xml b/net-misc/gnome-remote-desktop/metadata.xml index f453528b934f..aa52c31abcc2 100644 --- a/net-misc/gnome-remote-desktop/metadata.xml +++ b/net-misc/gnome-remote-desktop/metadata.xml @@ -5,4 +5,7 @@ gnome@gentoo.org Gentoo GNOME Desktop + + Use media-libs/fdk-aac for audio output redirection of the RDP backend + diff --git a/net-misc/kafka-bin/Manifest b/net-misc/kafka-bin/Manifest index 09649c04860c..2a9081a9d8e5 100644 --- a/net-misc/kafka-bin/Manifest +++ b/net-misc/kafka-bin/Manifest @@ -1,16 +1,12 @@ AUX kafka-connect-distributed.init.d 836 BLAKE2B 983a7eff314d7d09e3d6c01de7187b4b2537afef26143e5f8ec518553dd234940e1397f6217d965e6921b43947f956040cd11a19a9690f966f26f4dcbbd435e2 SHA512 4f999fc28d4f3b7df92d74391041efb17f64b2c4f111a8b2a40a39e50b647f90bc3d363b2b957f8da1fc4ca7fe96c1699f3b09cc0d8ced3b693b091f07dd7697 AUX kafka-zookeeper.init.d 506 BLAKE2B f0e6ab4a15a54363fe31e567805b19a1b18d59238f4f4eff4733432ef48ad0d3352c843290e517a195ca89ee39a8c1793d0fac671689cb51946696b3eb62d90e SHA512 96656e81a296c989fa5dcbab4831b6ca12841ef8e902d32b3100196e0dfc1984ba6d4eb426ade14ef8b4299ea9665753a0af22e8e7f4b7947424d5529d2f7010 AUX kafka.init.d.5 792 BLAKE2B 458fe70e6e8460e7291421e411440719224688a6521f2514272c16379d302019630add9fa1cf840cbe398afc1d36d5a19522aefbbbad635d050070cdbd6ae0c3 SHA512 578dbbb51ec12220f51ee4e80ebcfc3d20e0d921b262673505f50010522f9f67998293a6081357fc0f8b6d9e4a7dc306d4e5f45d4099bfee80fd5cd3f2940e8d -DIST kafka_2.13-2.8.1.tgz 71438574 BLAKE2B 51969ae472665f5716f0ee9df35d627221d1347ea0ddcbc0812774606c3c8251670a7f79eaf93eb3141494042f967e9eeca14ae078937afb6bc29c2ef57bd68c SHA512 91fcd1061247ad0ddb63fa2b5c0251ee0e58e60cc9e1a3ebe2e84e9a31872448a36622dd15868de2c6d3f7e26020a8c61477bc764e2fb6776a25e4344eb8892d -DIST kafka_2.13-3.0.1.tgz 86512293 BLAKE2B d1d1a1c4e0ae68a6d30fc36df1e796e55576345f6533027cbe0a1130f9148ea6fb0a3dea5e38a6fd22c8ced87cfee2e62969264a51aefc3d41d982a9020087a3 SHA512 d949fa4be7b601a9b482ae1c7861135a5da007362c4c1c9c218bdca94c45e918527e56738361aedc6b6dfb7abf02b1aa8110c7bc622cc2379b8a2ee557e5756f -DIST kafka_2.13-3.1.0.tgz 88130011 BLAKE2B 1dbd0f0cbc54ee19c47acff6aa25b4867e25fde81239a7b5e2f8ef6f42a727e041c006457964e48caec95cc8dc0b4ccc0f391b67264bcf27a61b9111e707fc2b SHA512 5954c1cf38187134a6e0a21520cbef5cd5320a3e9290e630c3895990e892219917d911fabbc64da5db17bcaa940b8277c23344b50f2ff4256eaca78116e9fdc9 -DIST kafka_2.13-3.1.1.tgz 88034707 BLAKE2B 7704f951808a4b8ae68ece37816a408891287da692f065aab6d1fa0a85908f1ff166fd8b03df832dca132d276dcbaabadc33c400a43e38c7116c42cdb89d6adf SHA512 5ec72ee76ad14997763f2654ecef0390fd9628413c287619b734f44193252950d412deba684aae5147ac844a88d9ef10eefc0ffeb14435f2e00347ef946aa5d6 -DIST kafka_2.13-3.2.0.tgz 103955943 BLAKE2B 048837f489b30912999991af0f27a7804d83f15b5c0895aaaa36b72970776dbb91b215b5ced3c7435aac993bf7c9eb7fc8e2709511edb8fbf6d270f2d1bb7145 SHA512 736a129823b058dc10788d0893bde47b6f39b9e4972f9eac2d5c9e85e51e477344c6f1e1ebd126ce34d5fd430eb07e55fdd60d60cb541f1d48655c0ebc0a4778 -EBUILD kafka-bin-2.8.1.ebuild 2067 BLAKE2B 8b74c84d3f3defd97d05889bec5cc35feeabcb18eb11f5b3effa0c1aa50ae1bc3c3dd26f2ecbd992d2d83678aa3347d28479f6af1b90e1b64441fee778706304 SHA512 609fe78ff84d5d7fd2f43a2eb99db19eb88dc74cad25bce84230ff5c67373da6c8be19adca2adbbab8945e5cd04284e9e8e6f1b2140f1dfbd06a1b362ba5cf90 -EBUILD kafka-bin-3.0.1-r1.ebuild 2089 BLAKE2B 10c29ea27f428f22bd16184aa124fa19a4af2771e7b85c98610611c43c6ad47678ecfa63830ab1e02a57a53eb074fa9b08cdc506f36c85acfe8f74039cd8ea28 SHA512 bdd213c2323f91d5e4de57153ce5a5ade6df9c77fd8dcf22db52d75be4ec80765cb4e540afe8d455e0385703385ff3bcc0c26b1e6f8547b00a9704742ad499a6 -EBUILD kafka-bin-3.0.1.ebuild 2067 BLAKE2B e711e94deefb0d7ea590cf9732401c7659938a28e7367cfcb419a3da1ca1ef706da7a82471e4a89e81c7b7d5871c730af4d17e48c6c19e8d29831e18ad9e2177 SHA512 a1243a3309bf30c32a2c227b6351f3e294f209557308b49cefa1d9aab1e36d69105ea9f8411c48e92583d6d92e3dababaa72bba3c969688c9adad819d03005ef -EBUILD kafka-bin-3.1.0-r1.ebuild 2089 BLAKE2B 10c29ea27f428f22bd16184aa124fa19a4af2771e7b85c98610611c43c6ad47678ecfa63830ab1e02a57a53eb074fa9b08cdc506f36c85acfe8f74039cd8ea28 SHA512 bdd213c2323f91d5e4de57153ce5a5ade6df9c77fd8dcf22db52d75be4ec80765cb4e540afe8d455e0385703385ff3bcc0c26b1e6f8547b00a9704742ad499a6 -EBUILD kafka-bin-3.1.0.ebuild 2067 BLAKE2B e711e94deefb0d7ea590cf9732401c7659938a28e7367cfcb419a3da1ca1ef706da7a82471e4a89e81c7b7d5871c730af4d17e48c6c19e8d29831e18ad9e2177 SHA512 a1243a3309bf30c32a2c227b6351f3e294f209557308b49cefa1d9aab1e36d69105ea9f8411c48e92583d6d92e3dababaa72bba3c969688c9adad819d03005ef -EBUILD kafka-bin-3.1.1.ebuild 2065 BLAKE2B ab15c04ecfc4bcf7e58f1e3c47127a7636f40c158608d411245d5b2991d996f38393f163fdab4c010365fb290f85dfd8fdd7c8c9d6f20bd7d7e5fb378c90d745 SHA512 2a54d19e09421b9ddac5a33a6d65c4a0300184d5e913b07373469ddf8ac4f4538e27aeeaaacab263cf31af55b4352596780f712c3d18ff4a74fc8bcf7b5a7030 -EBUILD kafka-bin-3.2.0.ebuild 2065 BLAKE2B ab15c04ecfc4bcf7e58f1e3c47127a7636f40c158608d411245d5b2991d996f38393f163fdab4c010365fb290f85dfd8fdd7c8c9d6f20bd7d7e5fb378c90d745 SHA512 2a54d19e09421b9ddac5a33a6d65c4a0300184d5e913b07373469ddf8ac4f4538e27aeeaaacab263cf31af55b4352596780f712c3d18ff4a74fc8bcf7b5a7030 +DIST kafka_2.13-2.8.2.tgz 71611122 BLAKE2B 2f6b233f6929c73cbdb24829458690492c5bd7443612b9bd2bc730526572b39a2f0832f0c2dab4a47a8c7dfd519adbceb4916b1c9db2b28f6464547a1797905d SHA512 6b1465e02845a5487dbcfad31bc14f6c6f13458bf682dde1bb1b6886a350810ba7c3773dcea1051e2a62fc5227b149e184959edef138ac25b3b97ddea0fa06af +DIST kafka_2.13-3.0.2.tgz 86566125 BLAKE2B 91c57a3349431417a5579a72a1557866c46263474b789d6bcd1915a45b0e1633cbed00842345efcdd8ad6f2ae9f01f65f8f24e87e7c23172b8ea482cadd66115 SHA512 032ca5025e9b37ae377e2daba6ae4d2c84fc28b4d030f92d8864f75b29b9193d5652dac2c562c64f6fc84038ddb26b1b6d65c836783ac32427defed5062a9fee +DIST kafka_2.13-3.1.2.tgz 88093743 BLAKE2B bbb03e55eb7506e8cfba4630191998622c2069b438d71bbfa2c0c1bb8c9052cb2a3fdba0067966d9fd49746453eb9c7bd84b4b325cd5fa1b4a56d4ce11e133a0 SHA512 ec5955bd9be0ffe15adf84ef428f48d341b5393a1e4cbb9d7f80ec4062ff57a28a38d575e19bc0b40af4143164bb5126721844f42dce8e70516fc30348c57f95 +DIST kafka_2.13-3.2.3.tgz 104083532 BLAKE2B e6bee799597565bf7824bcf607b514eba0be3c03f1fc29963812d4e7e109196a48369661f80eda3621b0cf11d0bf8187de817c59aca09e3212cf89452b04c966 SHA512 4a57d69f8d3b5158ddca9c64ac366c2975ca55f4c2ef02cd3b122e127016ad1a5aa1de92e7e2f392fdc3b57aabe75d4631373d77a3a5958c28d911f4034a136f +EBUILD kafka-bin-2.8.2.ebuild 2067 BLAKE2B e711e94deefb0d7ea590cf9732401c7659938a28e7367cfcb419a3da1ca1ef706da7a82471e4a89e81c7b7d5871c730af4d17e48c6c19e8d29831e18ad9e2177 SHA512 a1243a3309bf30c32a2c227b6351f3e294f209557308b49cefa1d9aab1e36d69105ea9f8411c48e92583d6d92e3dababaa72bba3c969688c9adad819d03005ef +EBUILD kafka-bin-3.0.2.ebuild 2089 BLAKE2B 10c29ea27f428f22bd16184aa124fa19a4af2771e7b85c98610611c43c6ad47678ecfa63830ab1e02a57a53eb074fa9b08cdc506f36c85acfe8f74039cd8ea28 SHA512 bdd213c2323f91d5e4de57153ce5a5ade6df9c77fd8dcf22db52d75be4ec80765cb4e540afe8d455e0385703385ff3bcc0c26b1e6f8547b00a9704742ad499a6 +EBUILD kafka-bin-3.1.2.ebuild 2065 BLAKE2B ab15c04ecfc4bcf7e58f1e3c47127a7636f40c158608d411245d5b2991d996f38393f163fdab4c010365fb290f85dfd8fdd7c8c9d6f20bd7d7e5fb378c90d745 SHA512 2a54d19e09421b9ddac5a33a6d65c4a0300184d5e913b07373469ddf8ac4f4538e27aeeaaacab263cf31af55b4352596780f712c3d18ff4a74fc8bcf7b5a7030 +EBUILD kafka-bin-3.2.3.ebuild 2065 BLAKE2B ab15c04ecfc4bcf7e58f1e3c47127a7636f40c158608d411245d5b2991d996f38393f163fdab4c010365fb290f85dfd8fdd7c8c9d6f20bd7d7e5fb378c90d745 SHA512 2a54d19e09421b9ddac5a33a6d65c4a0300184d5e913b07373469ddf8ac4f4538e27aeeaaacab263cf31af55b4352596780f712c3d18ff4a74fc8bcf7b5a7030 MISC metadata.xml 390 BLAKE2B b381ee7c8449c21b4036052e12f2442e1480e9790df1e42ac5375dbb13c7c9344e8d2b2f9b80bc75fdafdd023d6a80c2149151233ee7d2908539ef9d998e7445 SHA512 fe9f241db7f81e850901a8d3b7c2d90f043d3b80851132359055e855c9b1c949566aab4a3889b5af56db99e9f18000e40b4f9096221a9bf813ac5e82bb88bf7e diff --git a/net-misc/kafka-bin/kafka-bin-2.8.1.ebuild b/net-misc/kafka-bin/kafka-bin-2.8.1.ebuild deleted file mode 100644 index fb42f54f96da..000000000000 --- a/net-misc/kafka-bin/kafka-bin-2.8.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - virtual/jre:1.8" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-2.8.2.ebuild b/net-misc/kafka-bin/kafka-bin-2.8.2.ebuild new file mode 100644 index 000000000000..3ac960f997f4 --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-2.8.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="https://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.13 +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 connect" + +COMMON_DEPEND="acct-group/kafka + acct-user/kafka + virtual/jre:1.8" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +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 + sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die + eapply_user +} + +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" + + ewarn "Zookeeper owner has been changed to kafka:kafka" + ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" + ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" + ewarn "to keep the previous behavior." + ewarn "All logs files have been move to /var/log/kafka/" + fi + + if use "connect"; then + doins config/connect-distributed.properties config/connect-standalone.properties + newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" + 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.5" "${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-3.0.1-r1.ebuild b/net-misc/kafka-bin/kafka-bin-3.0.1-r1.ebuild deleted file mode 100644 index f81d56cb3214..000000000000 --- a/net-misc/kafka-bin/kafka-bin-3.0.1-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - || ( virtual/jre:1.8 virtual/jre:11 )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-3.0.1.ebuild b/net-misc/kafka-bin/kafka-bin-3.0.1.ebuild deleted file mode 100644 index 3ac960f997f4..000000000000 --- a/net-misc/kafka-bin/kafka-bin-3.0.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - virtual/jre:1.8" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-3.0.2.ebuild b/net-misc/kafka-bin/kafka-bin-3.0.2.ebuild new file mode 100644 index 000000000000..f81d56cb3214 --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-3.0.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="https://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.13 +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 connect" + +COMMON_DEPEND="acct-group/kafka + acct-user/kafka + || ( virtual/jre:1.8 virtual/jre:11 )" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +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 + sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die + eapply_user +} + +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" + + ewarn "Zookeeper owner has been changed to kafka:kafka" + ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" + ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" + ewarn "to keep the previous behavior." + ewarn "All logs files have been move to /var/log/kafka/" + fi + + if use "connect"; then + doins config/connect-distributed.properties config/connect-standalone.properties + newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" + 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.5" "${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-3.1.0-r1.ebuild b/net-misc/kafka-bin/kafka-bin-3.1.0-r1.ebuild deleted file mode 100644 index f81d56cb3214..000000000000 --- a/net-misc/kafka-bin/kafka-bin-3.1.0-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - || ( virtual/jre:1.8 virtual/jre:11 )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-3.1.0.ebuild b/net-misc/kafka-bin/kafka-bin-3.1.0.ebuild deleted file mode 100644 index 3ac960f997f4..000000000000 --- a/net-misc/kafka-bin/kafka-bin-3.1.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - virtual/jre:1.8" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-3.1.1.ebuild b/net-misc/kafka-bin/kafka-bin-3.1.1.ebuild deleted file mode 100644 index 313f507f0bdf..000000000000 --- a/net-misc/kafka-bin/kafka-bin-3.1.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - virtual/jre:=" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-3.1.2.ebuild b/net-misc/kafka-bin/kafka-bin-3.1.2.ebuild new file mode 100644 index 000000000000..313f507f0bdf --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-3.1.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="https://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.13 +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 connect" + +COMMON_DEPEND="acct-group/kafka + acct-user/kafka + virtual/jre:=" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +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 + sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die + eapply_user +} + +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" + + ewarn "Zookeeper owner has been changed to kafka:kafka" + ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" + ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" + ewarn "to keep the previous behavior." + ewarn "All logs files have been move to /var/log/kafka/" + fi + + if use "connect"; then + doins config/connect-distributed.properties config/connect-standalone.properties + newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" + 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.5" "${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-3.2.0.ebuild b/net-misc/kafka-bin/kafka-bin-3.2.0.ebuild deleted file mode 100644 index 313f507f0bdf..000000000000 --- a/net-misc/kafka-bin/kafka-bin-3.2.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A high-throughput distributed messaging system" -HOMEPAGE="https://kafka.apache.org/" - -# pick recommended scala version -SCALA_VERSION=2.13 -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 connect" - -COMMON_DEPEND="acct-group/kafka - acct-user/kafka - virtual/jre:=" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/${MY_P}" -INSTALL_DIR="/opt/${MY_PN}" - -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 - sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die - eapply_user -} - -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" - - ewarn "Zookeeper owner has been changed to kafka:kafka" - ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" - ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" - ewarn "to keep the previous behavior." - ewarn "All logs files have been move to /var/log/kafka/" - fi - - if use "connect"; then - doins config/connect-distributed.properties config/connect-standalone.properties - newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" - 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.5" "${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-3.2.3.ebuild b/net-misc/kafka-bin/kafka-bin-3.2.3.ebuild new file mode 100644 index 000000000000..313f507f0bdf --- /dev/null +++ b/net-misc/kafka-bin/kafka-bin-3.2.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A high-throughput distributed messaging system" +HOMEPAGE="https://kafka.apache.org/" + +# pick recommended scala version +SCALA_VERSION=2.13 +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 connect" + +COMMON_DEPEND="acct-group/kafka + acct-user/kafka + virtual/jre:=" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" +INSTALL_DIR="/opt/${MY_PN}" + +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 + sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' "config/connect-standalone.properties" || die + eapply_user +} + +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" + + ewarn "Zookeeper owner has been changed to kafka:kafka" + ewarn "you might want to run chown -R kafka:kafka /var/lib/kafka/zookeeper" + ewarn "or set COMMAND_USER=\"root:root\" in /etc/conf.d/kafka-zookeeper" + ewarn "to keep the previous behavior." + ewarn "All logs files have been move to /var/log/kafka/" + fi + + if use "connect"; then + doins config/connect-distributed.properties config/connect-standalone.properties + newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" "${MY_PN}-connect-distributed" + 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.5" "${MY_PN}" + + dodir "${INSTALL_DIR}" + cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die + keepdir "${INSTALL_DIR}/logs" + fowners -R kafka:kafka "${INSTALL_DIR}" +} -- cgit v1.2.3