Github messages for voidlinux
 help / color / mirror / Atom feed
From: knusbaum <knusbaum@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] apache-kafka: update to 3.0.0
Date: Thu, 06 Jan 2022 17:41:20 +0100	[thread overview]
Message-ID: <20220106164120.tWvpcFtjdNrc7ZJ1e28OaPQPUlkbsZK27UvMWLdcVzk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34899@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

There is an updated pull request by knusbaum against master on the void-packages repository

https://github.com/knusbaum/void-packages UPDATE-apache-kafka-3.0.0
https://github.com/void-linux/void-packages/pull/34899

apache-kafka: update to 3.0.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR:  **briefly** 



A patch file from https://github.com/void-linux/void-packages/pull/34899.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-UPDATE-apache-kafka-3.0.0-34899.patch --]
[-- Type: text/x-diff, Size: 3351 bytes --]

From 22a550840749ac081b764e71f88c21c1aac9bf1a Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Wed, 5 Jan 2022 23:39:24 +0000
Subject: [PATCH 1/3] apache-kafka: update to 3.0.0

---
 srcpkgs/apache-kafka/template | 10 +++++-----
 srcpkgs/apache-kafka/update   |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/apache-kafka/update

diff --git a/srcpkgs/apache-kafka/template b/srcpkgs/apache-kafka/template
index 29282a10d3d4..30f5e6f1caa0 100644
--- a/srcpkgs/apache-kafka/template
+++ b/srcpkgs/apache-kafka/template
@@ -1,16 +1,16 @@
 # Template file for 'apache-kafka'
 pkgname=apache-kafka
-version=2.4.0
+version=3.0.0
 revision=1
 wrksrc="kafka-${version}-src"
-hostmakedepends="curl which tar openjdk8"
+hostmakedepends="curl which tar openjdk11"
 depends="virtual?java-runtime"
 short_desc="Distributed Streaming Platform"
 maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="Apache-2.0"
 homepage="https://kafka.apache.org"
-distfiles="http://apache.mirrors.ionfish.org/kafka/${version}/kafka-${version}-src.tgz"
-checksum=d09efde300c1027e0289de1a1d2da093ecce6b182250e03f05215fb044f24f8b
+distfiles="https://dlcdn.apache.org/kafka/${version}/kafka-${version}-src.tgz"
+checksum=66a9efddcc2ce88984941020db012178efd51eb47c359c7fd1bab791416e39cd
 
 case "$XBPS_TARGET_MACHINE" in
 	ppc64*) ;;
@@ -27,7 +27,7 @@ do_build() {
 
 do_install() {
 	vmkdir usr/lib/kafka
-	tar -xf core/build/distributions/kafka_2.12-${version}.tgz -C ${DESTDIR}/usr/lib/kafka --strip 1
+	tar -xf core/build/distributions/kafka_2.13-${version}.tgz -C ${DESTDIR}/usr/lib/kafka --strip 1
 	rm -Rf ${DESTDIR}/usr/lib/kafka/bin/windows
 
 	mkdir -p ${DESTDIR}/etc/profile.d
diff --git a/srcpkgs/apache-kafka/update b/srcpkgs/apache-kafka/update
new file mode 100644
index 000000000000..035a2251a711
--- /dev/null
+++ b/srcpkgs/apache-kafka/update
@@ -0,0 +1,2 @@
+site=https://kafka.apache.org/downloads.html
+pkgname=""

From e92008776691d15e25f55c8dc2ea3201fb8d8ed9 Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Thu, 6 Jan 2022 10:31:40 +0000
Subject: [PATCH 2/3] test i686

---
 srcpkgs/apache-kafka/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/apache-kafka/template b/srcpkgs/apache-kafka/template
index 30f5e6f1caa0..630837c7d306 100644
--- a/srcpkgs/apache-kafka/template
+++ b/srcpkgs/apache-kafka/template
@@ -18,6 +18,8 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 do_configure() {
+	ls -l $HOME/.gradle/caches || true
+	rm -r $HOME/.gradle/caches || true
 	./gradlew
 }
 

From a1ac51d9e676fb09c1fdeda7d602bd59932a9dbb Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Thu, 6 Jan 2022 10:41:11 +0000
Subject: [PATCH 3/3] test

---
 srcpkgs/apache-kafka/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/apache-kafka/template b/srcpkgs/apache-kafka/template
index 630837c7d306..6c310c068328 100644
--- a/srcpkgs/apache-kafka/template
+++ b/srcpkgs/apache-kafka/template
@@ -3,7 +3,7 @@ pkgname=apache-kafka
 version=3.0.0
 revision=1
 wrksrc="kafka-${version}-src"
-hostmakedepends="curl which tar openjdk11"
+hostmakedepends="curl which tar openjdk8"
 depends="virtual?java-runtime"
 short_desc="Distributed Streaming Platform"
 maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"

  parent reply	other threads:[~2022-01-06 16:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-06  5:40 [PR PATCH] srcpkgs/apache-kafka: " knusbaum
2022-01-06  5:42 ` CameronNemo
2022-01-06  5:42 ` CameronNemo
2022-01-06 15:23 ` [PR PATCH] [Updated] " knusbaum
2022-01-06 15:27 ` apache-kafka: " knusbaum
2022-01-06 15:36 ` [PR PATCH] [Updated] " knusbaum
2022-01-06 15:49 ` knusbaum
2022-01-06 16:31 ` [PR PATCH] [Updated] " knusbaum
2022-01-06 16:41 ` knusbaum [this message]
2022-01-06 16:54 ` knusbaum
2022-01-06 16:55 ` knusbaum
2022-01-06 17:05 ` knusbaum
2022-01-09 13:29 ` [PR PATCH] [Merged]: " Piraty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220106164120.tWvpcFtjdNrc7ZJ1e28OaPQPUlkbsZK27UvMWLdcVzk@z \
    --to=knusbaum@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).