diff --git a/0002-resolve-cve-2023-32697.patch b/0002-resolve-cve-2023-32697.patch new file mode 100644 index 0000000000000000000000000000000000000000..fc4ec68dac51cd4561ab586deea99d4762a0cef0 --- /dev/null +++ b/0002-resolve-cve-2023-32697.patch @@ -0,0 +1,17 @@ +Index: pom.xml +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +diff --git a/pom.xml b/pom.xml +--- a/pom.xml (revision c7cbce922f07ac80a08f58eb04786e2e91fc52b2) ++++ b/pom.xml (date 1692695814239) +@@ -149,7 +149,7 @@ + 2.10.5 + 2.5.0 + 5.1.0 +- 3.8.11.2 ++ 3.42.0.0 + 8.0.11 + 42.4.1 + 0.3.2 diff --git a/pulsar.spec b/pulsar.spec index b572970d5c77b718e1c3cec2af287de959146853..e4b21abbf48d8649ff6d98381fde7f92e1c98182 100644 --- a/pulsar.spec +++ b/pulsar.spec @@ -11,6 +11,7 @@ Group: Applications/Message URL: https://pulsar.apache.org Source0: https://archive.apache.org/dist/pulsar/pulsar-2.10.4/apache-pulsar-2.10.4-src.tar.gz Patch0001: 0001-use-huawei-repository.patch +Patch0002: 0002-resolve-cve-2023-32697.patch BuildRoot: /root/rpmbuild/BUILDROOT/ BuildRequires: java-1.8.0-openjdk-devel,maven,systemd Requires: java-1.8.0-openjdk,systemd @@ -24,6 +25,7 @@ Pulsar is a distributed pub-sub messaging platform with a very flexible messagin %setup -q -n apache-pulsar-%{version}-src %patch0001 -p1 +%patch0002 -p1 %build mvn clean install -Pcore-modules,-main -DskipTests @@ -50,4 +52,6 @@ exit 0 %changelog * Fri Aug 11 2023 Jialing Wang - 2.10.4-1 -- init puslar spec \ No newline at end of file +- init puslar spec +* Fri Aug 24 2023 Jialing Wang - 2.10.4-2 +- resovle Cve-2023-32697 \ No newline at end of file