From nobody Thu Dec 16 14:07:19 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 26DE818F60BE for ; Thu, 16 Dec 2021 14:07:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JFDT371V4z53md for ; Thu, 16 Dec 2021 14:07:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD44813E0 for ; Thu, 16 Dec 2021 14:07:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BGE7JDj040293 for ; Thu, 16 Dec 2021 14:07:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BGE7Jmi040292 for ports-bugs@FreeBSD.org; Thu, 16 Dec 2021 14:07:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260452] [PATCH] games/minecraft-server: Update to latest version and patch log4shell Date: Thu, 16 Dec 2021 14:07:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: corey@electrickite.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639663640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/uy/1BP2E7NsXDxczoZqPbzJKGm/dv3by6ZG++35qyw=; b=wCgCwDQWzi4IC81kweitOaACd7hFJBH6cy9GNfEM26uCrc9BWz3hhWce2JG4XGPyoLVMK5 Sw/iGqZ0LwbVd3ZP9Y/GtmfRtWfmJdlzKzQ7w/N6zzkmgY7KrfPRN1JbgWP27FPcIJsAW6 7EQ2+0T/QEKcMuI6a1d1CZh/Z5uWsopsuy5JXmy81hZbez4UCqHpdOKlXiNgQL4FNI7rFF WeArIx1OL6gWVsj2ueQO5C5VXlmloUcyVV8lZIEr07C2xiW4FwwGo8wS1Ok4ulWthsgcp3 K5Z45lPRQTOxDb4uhP7mduss+idequ1QhA+uJDJVrPQOgHTnoRKxlTLLR1W5/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639663640; a=rsa-sha256; cv=none; b=WupkjhAvcw+8RbBfSbptKIplF50r/D32wPUPDPNjG2hY652sIoMoklpHiAS4bi85658pRT aaYtaufHKVhF76FSbEu01BPquJrpmGHkFrxSK1+YvbGme0m+ID2NI6bH012g8ZS/k26hFe ruZ3yBSzSgrral3KWC61YDhqhRdRJa527NVTxNeyPi2OrAs45INzZ0DBDamFCrtyDeFiAh +MAz4UR7jK4M44zW9GD7Hov2jTA+6/dn+icEHypCcowDUypGUVG4Fdouy+pT6wfzkTZyrb 4x8GArT9lV4FDhxZ6jn7QCPrFfYIv3KQ/7v7RJnPIpemvcXGyfvfgSqiuBX/ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=