diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-01-20 23:50:41 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-01-20 23:57:53 +0100 |
commit | e79731e7162418a4799e78365f1cafed2370f70f (patch) | |
tree | db735586940b1a5e9cee915f364041ebab68c085 /games-server/minecraft-server | |
parent | games-server/minecraft-server: amd64 stable (diff) | |
download | gentoo-e79731e7162418a4799e78365f1cafed2370f70f.tar.gz gentoo-e79731e7162418a4799e78365f1cafed2370f70f.tar.bz2 gentoo-e79731e7162418a4799e78365f1cafed2370f70f.zip |
games-server/minecraft-server: drop 1.16.5-r1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/minecraft-server')
5 files changed, 0 insertions, 162 deletions
diff --git a/games-server/minecraft-server/Manifest b/games-server/minecraft-server/Manifest index a2e003172ba4..85eabaa31e91 100644 --- a/games-server/minecraft-server/Manifest +++ b/games-server/minecraft-server/Manifest @@ -1,2 +1 @@ -DIST minecraft-server-1.16.5.jar 37962360 BLAKE2B 355715b809c09581e457f54618bd6ddab91b1c488d709d402fa6690d32244298d44191d439b8d9f27f4853f7e7658bfa2db88b61697a1caeb66da76ab211d9f8 SHA512 8321c50d788c6a3a3e8b2146bf1b20f6a3da87dd21ec4bd1fda0031d26f728d64e56a6a230ba5d857f4d500d7ba281eb4e3c28b6715f29d8dcba79d8c0ddf03f DIST minecraft-server-1.18.1.jar 46324407 BLAKE2B bc974116c00692910955fab6fff2f21f4363c575b28e03af5e7750d98d8f0b9ed52123ac7fffbb0739c775f22190ace2ea7ebe916e1b4deafca82278c4f6a5af SHA512 cb306772c06e88b70475961ec1f057a9edfcef8db334479ec5c28e8b07287b3209bc54d83f7da7e8c63a8581e7ddbb93109acbf491ff74806b27486368640e71 diff --git a/games-server/minecraft-server/files/log4j2_112-116.xml b/games-server/minecraft-server/files/log4j2_112-116.xml deleted file mode 100644 index 569223572f64..000000000000 --- a/games-server/minecraft-server/files/log4j2_112-116.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration status="WARN"> - <Appenders> - <Console name="SysOut" target="SYSTEM_OUT"> - <PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg{nolookups}%n" /> - </Console> - <Queue name="ServerGuiConsole"> - <PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg{nolookups}%n" /> - </Queue> - <RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz"> - <PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg{nolookups}%n" /> - <Policies> - <TimeBasedTriggeringPolicy /> - <OnStartupTriggeringPolicy /> - </Policies> - </RollingRandomAccessFile> - </Appenders> - <Loggers> - <Root level="info"> - <filters> - <MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL" /> - </filters> - <AppenderRef ref="SysOut"/> - <AppenderRef ref="File"/> - <AppenderRef ref="ServerGuiConsole"/> - </Root> - </Loggers> -</Configuration> diff --git a/games-server/minecraft-server/files/minecraft-server.initd-r5 b/games-server/minecraft-server/files/minecraft-server.initd-r5 deleted file mode 100644 index bfaad750b8c7..000000000000 --- a/games-server/minecraft-server/files/minecraft-server.initd-r5 +++ /dev/null @@ -1,62 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -if [ "${SVCNAME}" = "minecraft-server" ]; then - instance="main" -else - instance="${SVCNAME#minecraft-server.}" -fi - -dtach_tmpfile="$(mktemp -u)" -minecraft_command="/usr/bin/minecraft-server" -minecraft_logs="/var/log/minecraft-server" -minecraft_logs_instance="${minecraft_logs}/${instance}" -minecraft_path="/var/lib/minecraft-server" -minecraft_path_instance="${minecraft_path}/${instance}" -name="Minecraft Server (World: ${instance})" -pidfile="/run/minecraft-server.${instance}.pid" -start_stop_daemon_args="--chdir ${minecraft_path_instance} --env JAVA_OPTS='${MINECRAFT_OPTS}'" - -description_attach="Attaches to the session (interactive console) of the Minecraft server" -extra_started_commands="attach" - -command="/usr/bin/dtach" -command_background="true" -command_args="-N ${dtach_tmpfile} ${minecraft_command} ${MINECRAFT_OPTS}" -command_group="minecraft" -command_user="minecraft" - -depend() { - use net -} - -start_pre() { - checkpath -d -o "${command_user}:${command_group}" -q "${minecraft_path}" "${minecraft_path_instance}" - - checkpath -f -o "${command_user}:${command_group}" -q "${minecraft_path_instance}"/eula.txt - echo "eula=true" > "${minecraft_path_instance}"/eula.txt - - checkpath -d -o "${command_user}:${command_group}" -q "${minecraft_logs}" "${minecraft_logs_instance}" - - if [ ! -L "${minecraft_path_instance}"/logs ]; then - cd "${minecraft_path_instance}" && ln -s ../../../log/minecraft-server/"${instance}" logs - fi - - if [ -z "${MINECRAFT_OPTS}" ]; then - eerror "You must define 'MINECRAFT_OPTS' in '/etc/conf.d/${SVCNAME}'!" - return 1 - fi -} - -attach() { - pidnumber="$(cat ${pidfile})" - dtach_tmpfile="$(cat /proc/${pidnumber}/cmdline | tr '\0' ' ' | awk '{print $3}')" - - if [ -S "${dtach_tmpfile}" ]; then - eval "${command}" -a "${dtach_tmpfile}" "${DTACH_OPTS}" - else - eerror "The determined socket file for dtach could not be found!" - eerror "Did the process crash?" - fi -} diff --git a/games-server/minecraft-server/files/minecraft-server.service b/games-server/minecraft-server/files/minecraft-server.service deleted file mode 100644 index ad9167e5b1c9..000000000000 --- a/games-server/minecraft-server/files/minecraft-server.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Minecraft Server (World: %I) -After=network.target - -[Service] -User=minecraft -Group=minecraft -WorkingDirectory=-/var/lib/minecraft-server/%I -PIDFile=/run/minecraft-server.%I.pid -ExecStartPre=!/bin/mkdir -p /var/lib/minecraft-server/%I -ExecStartPre=!/bin/chown -R minecraft:minecraft /var/lib/minecraft-server/%I -ExecStartPre=/bin/sh -c 'echo "eula=true" > /var/lib/minecraft-server/%I/eula.txt' -ExecStart=/bin/sh -c '/usr/bin/dtach -N $(mktemp -u) /usr/bin/minecraft-server' - -[Install] -WantedBy=multi-user.target diff --git a/games-server/minecraft-server/minecraft-server-1.16.5-r1.ebuild b/games-server/minecraft-server/minecraft-server-1.16.5-r1.ebuild deleted file mode 100644 index d66a93f97015..000000000000 --- a/games-server/minecraft-server/minecraft-server-1.16.5-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_COMMIT="1b557e7b033b583cd9f66746b7a9ab1ec1673ced" -README_GENTOO_SUFFIX="-r1" - -inherit readme.gentoo-r1 java-pkg-2 systemd - -DESCRIPTION="The official server for the sandbox video game" -HOMEPAGE="https://www.minecraft.net/" -SRC_URI="https://launcher.mojang.com/v1/objects/${EGIT_COMMIT}/server.jar -> ${P}.jar" -S="${WORKDIR}" - -LICENSE="Mojang" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -RESTRICT="bindist mirror" - -RDEPEND=" - acct-group/minecraft - acct-user/minecraft - app-misc/dtach - || ( - >=virtual/jre-1.8 - >=virtual/jdk-1.8 - ) -" - -src_unpack() { - cp "${DISTDIR}/${A}" "${WORKDIR}" || die -} - -src_compile() { - :; -} - -src_install() { - java-pkg_newjar minecraft-server-${PV}.jar minecraft-server.jar - java-pkg_dolauncher minecraft-server --jar minecraft-server.jar --java_args "\${JAVA_OPTS} -Dlog4j.configurationFile=log4j2_112-116.xml" --pkg_args nogui - - insinto /usr/share/minecraft-server - doins "${FILESDIR}"/log4j2_112-116.xml - - newinitd "${FILESDIR}"/minecraft-server.initd-r6 minecraft-server - newconfd "${FILESDIR}"/minecraft-server.confd-r1 minecraft-server - systemd_newunit "${FILESDIR}"/minecraft-server.service-r1 minecraft-server@.service - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} |