From e39995d213616cc7d60c38e6e86e562f30637ef7 Mon Sep 17 00:00:00 2001 From: sulu5890 Date: Sun, 19 Dec 2021 18:10:22 -0600 Subject: Update Log4J (1.12.2) (#7154) * Update Log4j * update log4j (again) --- Spigot-Server-Patches/0385-Update-Log4j.patch | 132 ++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 Spigot-Server-Patches/0385-Update-Log4j.patch (limited to 'Spigot-Server-Patches/0385-Update-Log4j.patch') diff --git a/Spigot-Server-Patches/0385-Update-Log4j.patch b/Spigot-Server-Patches/0385-Update-Log4j.patch new file mode 100644 index 0000000000..549101ae42 --- /dev/null +++ b/Spigot-Server-Patches/0385-Update-Log4j.patch @@ -0,0 +1,132 @@ +From 33ae2cae2ced3d6b3294a61d3c5b460667589c45 Mon Sep 17 00:00:00 2001 +From: sulu5890 +Date: Sat, 11 Dec 2021 10:35:42 -0600 +Subject: [PATCH] Update Log4j + + +diff --git a/pom.xml b/pom.xml +index 132843880..d60021747 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -90,10 +90,11 @@ + all its classes to check if they are plugins. + Scanning takes about 1-2 seconds so adding this speeds up the server start. + --> ++ + + org.apache.logging.log4j + log4j-core +- 2.8.1 ++ 2.17.0 + compile + + +@@ -101,22 +102,23 @@ + + org.apache.logging.log4j + log4j-slf4j-impl +- 2.8.1 ++ 2.17.0 + runtime + + + org.apache.logging.log4j + log4j-iostreams +- 2.8.1 ++ 2.17.0 + + + + + com.lmax + disruptor +- 3.4.2 ++ 3.4.4 + runtime + ++ + + + +@@ -135,15 +137,17 @@ + + + +- spigotmc-public +- https://hub.spigotmc.org/nexus/content/groups/public/ ++ ++ paper ++ https://papermc.io/repo/repository/maven-public/ + + + + + +- spigotmc-public +- https://hub.spigotmc.org/nexus/content/groups/public/ ++ paper ++ https://papermc.io/repo/repository/maven-public/ ++ + + + +@@ -184,6 +188,7 @@ + Bukkit + ${api.version} + Bukkit Team ++ true + + + +@@ -211,7 +216,7 @@ + + org.apache.maven.plugins + maven-shade-plugin +- 3.1.0 ++ 3.2.4 + + + package +@@ -220,6 +225,16 @@ + + + ${project.build.directory}/dependency-reduced-pom.xml ++ ++ ++ ++ org.spigotmc:minecraft-server:** ++ ++ org/apache/logging/log4j/** ++ ++ ++ ++ + + + +@@ -251,16 +266,18 @@ + + META-INF/services/java.sql.Driver + +- ++ + + + + + + +- com.github.edwgiz +- maven-shade-plugin.log4j2-cachefile-transformer +- 2.8.1 ++ ++ io.github.edwgiz ++ log4j-maven-shade-plugin-extensions ++ 2.17.0 ++ + + + +-- +2.34.1 + -- cgit v1.2.3