diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-02-04 16:15:18 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-02-04 18:48:17 +0100 |
commit | 1b30f4cb34da0d573e81d5e0c9047a43cff6a497 (patch) | |
tree | 7159fae8da0d6172b25998c3f19f46131dab655d /games-server | |
parent | net-im/yowsup: drop old version (diff) | |
download | gentoo-1b30f4cb34da0d573e81d5e0c9047a43cff6a497.tar.gz gentoo-1b30f4cb34da0d573e81d5e0c9047a43cff6a497.tar.bz2 gentoo-1b30f4cb34da0d573e81d5e0c9047a43cff6a497.zip |
games-server/minecraft-server: drop old version
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server')
-rw-r--r-- | games-server/minecraft-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/minecraft-server/files/minecraft-server.initd-r2 | 47 | ||||
-rw-r--r-- | games-server/minecraft-server/minecraft-server-1.14.4.ebuild | 57 |
3 files changed, 0 insertions, 105 deletions
diff --git a/games-server/minecraft-server/Manifest b/games-server/minecraft-server/Manifest index 4bddfad1928e..29a41498d751 100644 --- a/games-server/minecraft-server/Manifest +++ b/games-server/minecraft-server/Manifest @@ -1,2 +1 @@ -DIST minecraft-server-1.14.4.jar 35958734 BLAKE2B 058d6609296394e4714a159976d4de0261a552a919e33db1e54d97e3d2ee90cd4356b60190b807050d3c7ab336149d1c9be55093ba002735ccc6a162706c6ee3 SHA512 b3d2852c6fa1b996bbf2fa9fc1fb860c6bca5136bcc5ddd3d236d85789c6bce81620f6b2d69eaa10c41d020fe0bb54de2fa601b3df3093af2691853a4445e1f8 DIST minecraft-server-1.15.1.jar 36164938 BLAKE2B 21ee30c92b3060810fb766a54924b5273f44bfb906592770c101bed3f41cd65fc0cd05b9610fce805860f71088ccf89ac6cbf6a364eb8ca16047b39b8f0aa69f SHA512 4458daa6cd87b04ddbf0819dfc0538d24b8d08c529a94f1abff9b894d24ffb4eb3d0b23b8bfb088b2b6f43fb6f71d17700d9f80dab2ed56dc51c5bef329ba6bb diff --git a/games-server/minecraft-server/files/minecraft-server.initd-r2 b/games-server/minecraft-server/files/minecraft-server.initd-r2 deleted file mode 100644 index ec659d145f85..000000000000 --- a/games-server/minecraft-server/files/minecraft-server.initd-r2 +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -if [ "${SVCNAME}" = "minecraft-server" ]; then - instance="main" -else - instance="${SVCNAME#minecraft-server.}" -fi - -minecraft_command="/usr/bin/minecraft-server" -minecraft_logs="/var/log/minecraft-server" -minecraft_path="/var/lib/minecraft-server/${instance}" -name="Minecraft Server (World: ${instance})" -pidfile="/run/minecraft-server.${instance}.pid" -screen_name="minecraft-server.${instance}" -start_stop_daemon_args="--chdir ${minecraft_path} --env JAVA_OPTS=\"${MINECRAFT_OPTS}\"" - -command="screen" -command_args="-DmUS ${screen_name} ${minecraft_command}" -command_background="true" -command_group="minecraft" -command_user="minecraft" - -depend() { - use net -} - -start_pre() { - checkpath -d -o "${command_user}:${command_group}" -q "${minecraft_path}" - - checkpath -f -o "${command_user}:${command_group}" -q "${minecraft_path}"/eula.txt - echo "eula=true" > "${minecraft_path}"/eula.txt - - checkpath -d -o "${command_user}:${command_group}" -q "${minecraft_logs}"/"${instance}" - - if [ ! -L "${minecraft_path}"/logs ]; then - cd "${minecraft_path}" && ln -s ../../../log/minecraft-server/"${instance}" logs - fi - - if [ -z "${MINECRAFT_OPTS}" ]; then - eerror "You must define MINECRAFT_OPTS in /etc/conf.d/minecraft.${SVCNAME}!" - return 1 - fi - - return 0 -} diff --git a/games-server/minecraft-server/minecraft-server-1.14.4.ebuild b/games-server/minecraft-server/minecraft-server-1.14.4.ebuild deleted file mode 100644 index cfddb597af26..000000000000 --- a/games-server/minecraft-server/minecraft-server-1.14.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_COMMIT="3dc3d84a581f14691199cf6831b71ed1296a9fdf" - -inherit readme.gentoo-r1 java-pkg-2 - -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" - -LICENSE="Mojang" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - acct-group/minecraft - acct-user/minecraft - app-misc/screen - || ( - >=virtual/jre-1.8 - >=virtual/jdk-1.8 - ) -" - -RESTRICT="bindist mirror strip" - -S="${WORKDIR}" - -src_unpack() { - # Don't unpack that jar, just copy it to WORKDIR - 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}" - - newinitd "${FILESDIR}"/minecraft-server.initd-r2 minecraft-server - newconfd "${FILESDIR}"/minecraft-server.confd minecraft-server - - diropts -o minecraft -g minecraft - keepdir /var/lib/minecraft-server - keepdir /var/log/minecraft-server - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} |