Date: Thu, 16 Dec 2021 14:07:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260452] [PATCH] games/minecraft-server: Update to latest version and patch log4shell Message-ID: <bug-260452-7788-2WSxRaidbt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260452-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-260452-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260452 corey@electrickite.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |corey@electrickite.org --- Comment #4 from corey@electrickite.org --- As of version 1.18.1, server.jar now extracts several libraries and other j= ar files into /usr/local/minecraft-server/libraries and /usr/local/minecraft-server/versions when it is run for the first time. The= se files will remain after a deinstall with the current patch. One approach might be to add these files to pkg-plist with a @rmtry keyword. They would then be removed on deinstall. This will leave the empty directory hierarchies behind, but those could be cleaned up with something like the following in pkg-deinstall.in: find "%%PREFIX%%/minecraft-server/libraries" -type d -empty -delete find "%%PREFIX%%/minecraft-server/versions" -type d -empty -delete For reference, the files extracted after first run for 1.18.1 are: minecraft-server/libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar minecraft-server/libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.j= ar minecraft-server/libraries/com/mojang/authlib/3.2.38/authlib-3.2.38.jar minecraft-server/libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar minecraft-server/libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.j= ar minecraft-server/libraries/com/mojang/datafixerupper/4.0.26/datafixerupper-= 4.0.26.jar minecraft-server/libraries/com/github/oshi/oshi-core/5.8.2/oshi-core-5.8.2.= jar minecraft-server/libraries/com/google/code/gson/gson/2.8.8/gson-2.8.8.jar minecraft-server/libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-j= re.jar minecraft-server/libraries/com/google/guava/failureaccess/1.0.1/failureacce= ss-1.0.1.jar minecraft-server/libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-= beta4.jar minecraft-server/libraries/org/apache/commons/commons-lang3/3.12.0/commons-= lang3-3.12.0.jar minecraft-server/libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.14= .1/log4j-slf4j18-impl-2.14.1.jar minecraft-server/libraries/org/apache/logging/log4j/log4j-api/2.14.1/log4j-= api-2.14.1.jar minecraft-server/libraries/org/apache/logging/log4j/log4j-core/2.14.1/log4j= -core-2.14.1.jar minecraft-server/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple= -5.0.4.jar minecraft-server/libraries/net/java/dev/jna/jna-platform/5.9.0/jna-platform= -5.9.0.jar minecraft-server/libraries/net/java/dev/jna/jna/5.9.0/jna-5.9.0.jar minecraft-server/libraries/io/netty/netty-all/4.1.68.Final/netty-all-4.1.68= .Final.jar minecraft-server/versions/1.18.1/server-1.18.1.jar --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260452-7788-2WSxRaidbt>