diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-11-03 08:43:47 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-11-03 09:20:54 +0100 |
commit | 887aff193f301d735bae324d05a10db7b137464e (patch) | |
tree | cf84eb65f49b6698f0747e96ad3e3deb8f53e723 /games-server | |
parent | profiles/package.mask: mask dev-lang/helium and dev-haskell/lvmlib (diff) | |
download | gentoo-887aff193f301d735bae324d05a10db7b137464e.tar.gz gentoo-887aff193f301d735bae324d05a10db7b137464e.tar.bz2 gentoo-887aff193f301d735bae324d05a10db7b137464e.zip |
games-server/bedrock-server: drop old version
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server')
-rw-r--r-- | games-server/bedrock-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild | 52 | ||||
-rw-r--r-- | games-server/bedrock-server/files/bedrock-server.initd-r1 | 47 |
3 files changed, 0 insertions, 100 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest index f7de754999a5..7f392f583ab6 100644 --- a/games-server/bedrock-server/Manifest +++ b/games-server/bedrock-server/Manifest @@ -1,2 +1 @@ -DIST bedrock-server-1.16.1.02.zip 69830343 BLAKE2B c35d68f8527df9c6b96662ded02f8195ecb0bc11fa2cd93b3a0f4522cf6cbe4332f76749cc5d688179fa810edaf7c3dbb8244ad7bef1a2ee73205ab0852cc9ac SHA512 c8a79167c22e86e93e38c5a1e3d35911247011e954d49539cb8a33eb1345d49c085a1682efd4dda9681a0d1123f9caac3c4deba88e48fcccf4d1f0f7dea878b8 DIST bedrock-server-1.16.40.02.zip 69910097 BLAKE2B 6c074a3f99bcd9dfe0214a43550d08714af9a58ee619765bf6713b59b997c1c322bba906966c18181fdb3c5e3e5791140fa49d25146820b649f30ace1c147adb SHA512 e0d012719a413656ed0f4b8ffc0ca96d537e3dbfc306ce8e05d757442e209ce2b1f9a43c1152c3a36ed251a35f68f6072401742e1ab2cf75d75ef9420232702b diff --git a/games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild b/games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild deleted file mode 100644 index ceeced788eae..000000000000 --- a/games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="The official bedrock (non-java) based server for the sandbox video game" -HOMEPAGE="https://www.minecraft.net/" -SRC_URI="https://minecraft.azureedge.net/bin-linux/${P}.zip" - -LICENSE="Mojang" -SLOT="0" -KEYWORDS="-* amd64" - -RDEPEND=" - acct-group/bedrock - acct-user/bedrock - app-misc/dtach - dev-libs/openssl:0/1.1 - net-misc/curl[ssl] -" - -BDEPEND="app-arch/unzip" - -RESTRICT="bindist mirror" - -S="${WORKDIR}" - -DOCS=( - "bedrock_server_how_to.html" - "release-notes.txt" -) - -QA_PREBUILT=" - opt/bedrock-server/bedrock_server - opt/bedrock-server/libCrypto.so -" - -src_install() { - exeinto /opt/bedrock-server - doexe bedrock_server libCrypto.so - - insinto /opt/bedrock-server - doins {permissions,whitelist}.json server.properties - doins -r {behavior,resource}_packs definitions structures - - dodir /opt/bin - dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server - - newinitd "${FILESDIR}"/bedrock-server.initd-r1 bedrock-server - - einstalldocs -} diff --git a/games-server/bedrock-server/files/bedrock-server.initd-r1 b/games-server/bedrock-server/files/bedrock-server.initd-r1 deleted file mode 100644 index 5f71b80edb21..000000000000 --- a/games-server/bedrock-server/files/bedrock-server.initd-r1 +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -if [ "${SVCNAME}" = "bedrock-server" ]; then - instance="main" -else - instance="${SVCNAME#*.}" -fi - -bedrock_command="/opt/bin/bedrock-server" -bedrock_path="/var/lib/bedrock-server" -bedrock_path_data="/opt/bedrock-server" -bedrock_path_instance="${bedrock_path}/${instance}" -dtach_tmpfile="$(mktemp -u)" -name="Minecraft Bedrock server (${instance})" -pidfile="/run/bedrock-server.${instance}.pid" -start_stop_daemon_args="--chdir ${bedrock_path_instance}" - -command="/usr/bin/dtach" -command_background="true" -command_args="-N ${dtach_tmpfile} ${bedrock_command}" -command_group="bedrock" -command_user="bedrock" - -depend() { - use net -} - -start_pre() { - checkpath -d -o "${command_user}:${command_group}" -q "${bedrock_path}" "${bedrock_path_instance}" - - local bedrock_configs=( "permissions.json" "server.properties" "whitelist.json" ) - for bedrock_config in ${bedrock_configs[@]}; do - if [ ! -f "${bedrock_path_instance}/${bedrock_config}" ]; then - cp "${bedrock_path_data}/${bedrock_config}" "${bedrock_path_instance}" - checkpath -f -o "${command_user}:${command_group}" -q "${bedrock_path_instance}/${bedrock_config}" - fi - done - - local bedrock_ressources=( "behavior_packs" "definitions" "resource_packs" "structures" ) - for bedrock_ressource in ${bedrock_ressources[@]}; do - if [ ! -L "${bedrock_path_instance}/${bedrock_ressource}" ]; then - ln -sf "${bedrock_path_data}/${bedrock_ressource}" "${bedrock_path_instance}" - fi - done -} |