Skip to content

Commit 7c77250

Browse files
committed
Convert spark-k8s to patchable
1 parent 8f619f5 commit 7c77250

File tree

5 files changed

+38
-7
lines changed

5 files changed

+38
-7
lines changed

spark-k8s/stackable/patches/3.5.1/001-cyclonedx-plugin.patch renamed to spark-k8s/stackable/patches/3.5.1/0001-Update-CycloneDX-plugin.patch

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
From 08b7c02a497b8b3b70616281f810a898b1719a78 Mon Sep 17 00:00:00 2001
2+
From: Lukas Voetmand <[email protected]>
3+
Date: Fri, 6 Sep 2024 17:53:52 +0200
4+
Subject: Update CycloneDX plugin
5+
6+
---
7+
dev/make-distribution.sh | 1 -
8+
pom.xml | 7 ++++++-
9+
2 files changed, 6 insertions(+), 2 deletions(-)
10+
111
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
2-
index ef7c010..0f4c1c7 100755
12+
index ef7c010e93..0f4c1c74e4 100755
313
--- a/dev/make-distribution.sh
414
+++ b/dev/make-distribution.sh
515
@@ -171,7 +171,6 @@ BUILD_COMMAND=("$MVN" clean package \
@@ -11,7 +21,7 @@ index ef7c010..0f4c1c7 100755
1121

1222
# Actually build the jar
1323
diff --git a/pom.xml b/pom.xml
14-
index 0f504db..6cca7db 100644
24+
index 0f504dbee8..6cca7db7bf 100644
1525
--- a/pom.xml
1626
+++ b/pom.xml
1727
@@ -3482,7 +3482,12 @@
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
Fix CVE-2024-36114
1+
From 3892892d934387d20c6d8fd45f126e054bef55b8 Mon Sep 17 00:00:00 2001
2+
From: Siegfried Weber <[email protected]>
3+
Date: Mon, 11 Nov 2024 10:00:15 +0100
4+
Subject: Fix CVE-2024-36114
5+
26
see https://github.com/stackabletech/vulnerabilities/issues/834
37

48
Aircompressor is a library with ports of the Snappy, LZO, LZ4, and
@@ -17,9 +21,12 @@ have been fixed. When decompressing data from untrusted users, this can
1721
be exploited for a denial-of-service attack by crashing the JVM, or to
1822
leak other sensitive information from the Java process. There are no
1923
known workarounds for this issue.
24+
---
25+
pom.xml | 2 +-
26+
1 file changed, 1 insertion(+), 1 deletion(-)
2027

2128
diff --git a/pom.xml b/pom.xml
22-
index 6cca7db7bf8..fb9254e0cd9 100644
29+
index 6cca7db7bf..fb9254e0cd 100644
2330
--- a/pom.xml
2431
+++ b/pom.xml
2532
@@ -2558,7 +2558,7 @@
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
upstream = "https://github.com/apache/spark.git"
2+
base = "fd86f85e181fc2dc0f50a096855acf83a6cc5d9c"

spark-k8s/stackable/patches/3.5.2/001-cyclonedx-plugin.patch renamed to spark-k8s/stackable/patches/3.5.2/0001-Update-CycloneDX-plugin.patch

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
From 2f95ba96e5894cfd07eca25aef5968e6a6d543fd Mon Sep 17 00:00:00 2001
2+
From: Lukas Voetmand <[email protected]>
3+
Date: Fri, 6 Sep 2024 17:53:52 +0200
4+
Subject: Update CycloneDX plugin
5+
6+
---
7+
dev/make-distribution.sh | 1 -
8+
pom.xml | 7 ++++++-
9+
2 files changed, 6 insertions(+), 2 deletions(-)
10+
111
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
2-
index ef7c010..0f4c1c7 100755
12+
index ef7c010e930..0f4c1c74e40 100755
313
--- a/dev/make-distribution.sh
414
+++ b/dev/make-distribution.sh
515
@@ -171,7 +171,6 @@ BUILD_COMMAND=("$MVN" clean package \
@@ -11,10 +21,10 @@ index ef7c010..0f4c1c7 100755
1121

1222
# Actually build the jar
1323
diff --git a/pom.xml b/pom.xml
14-
index 0f504db..6cca7db 100644
24+
index 8fe98c35846..36a800162da 100644
1525
--- a/pom.xml
1626
+++ b/pom.xml
17-
@@ -3482,7 +3482,12 @@
27+
@@ -3513,7 +3513,12 @@
1828
<plugin>
1929
<groupId>org.cyclonedx</groupId>
2030
<artifactId>cyclonedx-maven-plugin</artifactId>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
upstream = "https://github.com/apache/spark.git"
2+
base = "bb7846dd487f259994fdc69e18e03382e3f64f42"

0 commit comments

Comments
 (0)