* Re: srcpkgs/apache-kafka: update to 3.0.0.
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
@ 2022-01-06 5:42 ` CameronNemo
2022-01-06 5:42 ` CameronNemo
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2022-01-06 5:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/pull/34899#issuecomment-1006300679
Comment:
Commit message is in the wrong format. Remove the `srcpkgs/` prefix.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: srcpkgs/apache-kafka: update to 3.0.0.
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
2022-01-06 5:42 ` CameronNemo
@ 2022-01-06 5:42 ` CameronNemo
2022-01-06 15:23 ` [PR PATCH] [Updated] " knusbaum
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2022-01-06 5:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/pull/34899#issuecomment-1006300679
Comment:
Commit message is in the wrong format. Remove the `srcpkgs/` prefix. Also you do not need the period at the end, although it is not policy to remove it AFAIK.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] srcpkgs/apache-kafka: update to 3.0.0.
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
2022-01-06 5:42 ` CameronNemo
2022-01-06 5:42 ` CameronNemo
@ 2022-01-06 15:23 ` knusbaum
2022-01-06 15:27 ` apache-kafka: " knusbaum
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 15:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 510 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
srcpkgs/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: 1966 bytes --]
From 1079b15d9bbc3b29109836d78550296dba190791 Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Wed, 5 Jan 2022 23:39:24 +0000
Subject: [PATCH] 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=""
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (2 preceding siblings ...)
2022-01-06 15:23 ` [PR PATCH] [Updated] " knusbaum
@ 2022-01-06 15:27 ` knusbaum
2022-01-06 15:36 ` [PR PATCH] [Updated] " knusbaum
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 15:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
New comment by knusbaum on void-packages repository
https://github.com/void-linux/void-packages/pull/34899#issuecomment-1006679020
Comment:
@CameronNemo Whoops!
Somehow I added `srcpkgs/` to the message. I removed that and the period from the commit message.
About the period at the end, it is added by `xbump`, and I noticed it *is* actually specified in the `CONTRIBUTING.md` document here: https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes
If the period is not wanted, I'm happy to provide a PR for both `xbump` and the `CONTRIBUTING.md` document. let me know.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (3 preceding siblings ...)
2022-01-06 15:27 ` apache-kafka: " knusbaum
@ 2022-01-06 15:36 ` knusbaum
2022-01-06 15:49 ` knusbaum
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 15:36 UTC (permalink / raw)
To: ml
[-- 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: 1966 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] 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=""
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (4 preceding siblings ...)
2022-01-06 15:36 ` [PR PATCH] [Updated] " knusbaum
@ 2022-01-06 15:49 ` knusbaum
2022-01-06 16:31 ` [PR PATCH] [Updated] " knusbaum
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 15:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by knusbaum on void-packages repository
https://github.com/void-linux/void-packages/pull/34899#issuecomment-1006696858
Comment:
Also not sure why the `i686` build is failing. It passes locally with `check` as well.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (5 preceding siblings ...)
2022-01-06 15:49 ` knusbaum
@ 2022-01-06 16:31 ` knusbaum
2022-01-06 16:41 ` knusbaum
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 16:31 UTC (permalink / raw)
To: ml
[-- 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: 2584 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/2] 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/2] 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
}
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (6 preceding siblings ...)
2022-01-06 16:31 ` [PR PATCH] [Updated] " knusbaum
@ 2022-01-06 16:41 ` knusbaum
2022-01-06 16:54 ` knusbaum
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 16:41 UTC (permalink / raw)
To: ml
[-- 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>"
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (7 preceding siblings ...)
2022-01-06 16:41 ` knusbaum
@ 2022-01-06 16:54 ` knusbaum
2022-01-06 16:55 ` knusbaum
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 16:54 UTC (permalink / raw)
To: ml
[-- 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: 2069 bytes --]
From b9f43f810c61dab4a50928f57e195ebe2141f8c0 Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Wed, 5 Jan 2022 23:39:24 +0000
Subject: [PATCH] apache-kafka: update to 3.0.0
---
srcpkgs/apache-kafka/template | 10 ++++++----
srcpkgs/apache-kafka/update | 2 ++
2 files changed, 8 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/apache-kafka/update
diff --git a/srcpkgs/apache-kafka/template b/srcpkgs/apache-kafka/template
index 29282a10d3d4..6c310c068328 100644
--- a/srcpkgs/apache-kafka/template
+++ b/srcpkgs/apache-kafka/template
@@ -1,6 +1,6 @@
# 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"
@@ -9,8 +9,8 @@ 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*) ;;
@@ -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
}
@@ -27,7 +29,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=""
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (8 preceding siblings ...)
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
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 16:55 UTC (permalink / raw)
To: ml
[-- 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: 1899 bytes --]
From ac44eee32a5d48c6c928731d65632c9a451cbda3 Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Wed, 5 Jan 2022 23:39:24 +0000
Subject: [PATCH] apache-kafka: update to 3.0.0
---
srcpkgs/apache-kafka/template | 8 ++++----
srcpkgs/apache-kafka/update | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/apache-kafka/update
diff --git a/srcpkgs/apache-kafka/template b/srcpkgs/apache-kafka/template
index 29282a10d3d4..0e75af73152e 100644
--- a/srcpkgs/apache-kafka/template
+++ b/srcpkgs/apache-kafka/template
@@ -1,6 +1,6 @@
# 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"
@@ -9,8 +9,8 @@ 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=""
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (9 preceding siblings ...)
2022-01-06 16:55 ` knusbaum
@ 2022-01-06 17:05 ` knusbaum
2022-01-09 13:29 ` [PR PATCH] [Merged]: " Piraty
11 siblings, 0 replies; 13+ messages in thread
From: knusbaum @ 2022-01-06 17:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
New comment by knusbaum on void-packages repository
https://github.com/void-linux/void-packages/pull/34899#issuecomment-1006753824
Comment:
Fixed
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Merged]: apache-kafka: update to 3.0.0
2022-01-06 5:40 [PR PATCH] srcpkgs/apache-kafka: update to 3.0.0 knusbaum
` (10 preceding siblings ...)
2022-01-06 17:05 ` knusbaum
@ 2022-01-09 13:29 ` Piraty
11 siblings, 0 replies; 13+ messages in thread
From: Piraty @ 2022-01-09 13:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 325 bytes --]
There's a merged pull request on the void-packages repository
apache-kafka: update to 3.0.0
https://github.com/void-linux/void-packages/pull/34899
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
^ permalink raw reply [flat|nested] 13+ messages in thread