summaryrefslogtreecommitdiff
path: root/games-server/bedrock-server
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-server/bedrock-server
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-server/bedrock-server')
-rw-r--r--games-server/bedrock-server/Manifest7
-rw-r--r--games-server/bedrock-server/bedrock-server-1.16.100.04.ebuild (renamed from games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild)5
-rw-r--r--games-server/bedrock-server/bedrock-server-1.16.40.02.ebuild2
-rw-r--r--games-server/bedrock-server/files/bedrock-server.initd-r147
4 files changed, 7 insertions, 54 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 710f2e277d3d..11544a7e52e3 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,8 +1,7 @@
AUX bedrock-server.confd 317 BLAKE2B 47308c295519e0c92653a738aafd3044120c8f86d70050d639a0a1b05cf3cc1c8858bab713cc3b63cabb61c821d8292e95c9011c7af6593a4d8070722733f49d SHA512 9f6300b46680663b5a58a9b873fbbfd912c04fb3272a5528b64b6a32e5492ff1b66e9eafea65d17ff36defa006727b307ac130461846cd6742512bad3061db58
-AUX bedrock-server.initd-r1 1558 BLAKE2B 5d65fe612092777002e9e4b0b62041aa1637e6c6aaaebb64c1be956cfa7ceb355afb337c4d84ef6e66c25167a3544c9bb0791843cb2bf98aca7c712eef02e143 SHA512 fa2c99461650d99ad45e63d7b2166431882e6fb5a73795a468a837a46a3ab47ce641ce0aee8e4ca220f25422af128746f24125da6a3fbb35829f27c1bd397c23
AUX bedrock-server.initd-r2 2026 BLAKE2B ed212537e0a0d1a5e714aa0f4e72915ba3142580a1c1e46f9f88d06b8d8176de0bd5ab5134e915537583d20e4e3dbfba9e10ab1281bd84b8361f6ca01d1eab81 SHA512 8a6ab7277604cdc4677fde5d745e0c02a557538a4d73adc44873f49a01715eb878b48a56e51b6019aa814325543b509f8403cf351570d1b35ef1e07e98828c9c
-DIST bedrock-server-1.16.1.02.zip 69830343 BLAKE2B c35d68f8527df9c6b96662ded02f8195ecb0bc11fa2cd93b3a0f4522cf6cbe4332f76749cc5d688179fa810edaf7c3dbb8244ad7bef1a2ee73205ab0852cc9ac SHA512 c8a79167c22e86e93e38c5a1e3d35911247011e954d49539cb8a33eb1345d49c085a1682efd4dda9681a0d1123f9caac3c4deba88e48fcccf4d1f0f7dea878b8
+DIST bedrock-server-1.16.100.04.zip 89007325 BLAKE2B baaa1244297385938ea45ed0559e9965d6b0c03f13ccaa6a85e9ee4b272ad46eeb9ce0b1a23fd3eb1b4cfdda730d3251a7df86470bdfebe617dea2f87e5c35b0 SHA512 7442237169dbc64d11629321a5ec75b004f4e29e28b3c031cfca98498d079b759bcecb56fe0c7f8df8c3fca4bdc7127b282614a50adeb7afa41aa89f190f1fc7
DIST bedrock-server-1.16.40.02.zip 69910097 BLAKE2B 6c074a3f99bcd9dfe0214a43550d08714af9a58ee619765bf6713b59b997c1c322bba906966c18181fdb3c5e3e5791140fa49d25146820b649f30ace1c147adb SHA512 e0d012719a413656ed0f4b8ffc0ca96d537e3dbfc306ce8e05d757442e209ce2b1f9a43c1152c3a36ed251a35f68f6072401742e1ab2cf75d75ef9420232702b
-EBUILD bedrock-server-1.16.1.02.ebuild 1058 BLAKE2B aa58efb9b838a7f9c1f0659d0687fd985fc210ade149b0f64f89f3da19e6ea248cf98e7b9b9cfad6d1345ee4032ef8db67d962d95981c366a5a7c8c04da8fc77 SHA512 4eebb8ac43662595706b80d06d0844ec083f44478554073e4843b548eeddebf11ce890d66f160b0b205a2f1c2d20e76ef9f7627d8dc397594816619cd49122df
-EBUILD bedrock-server-1.16.40.02.ebuild 1119 BLAKE2B b76800f2862d9a9237cb22b877a03b607b84f7cf12572d75b0b52bb0360c641033e53a3f14ab82c62ce44af71ac2690e7d28a0ba9530fd3cb1261446272a00e1 SHA512 1672257c9b81808bd913712167d152a981f5cf9deca0224a057e4c25f5bbacef0b7dcf6fe72080efd47b807d3b7b00639db344c143468c2d95f82663bcb9e1d4
+EBUILD bedrock-server-1.16.100.04.ebuild 1119 BLAKE2B b76800f2862d9a9237cb22b877a03b607b84f7cf12572d75b0b52bb0360c641033e53a3f14ab82c62ce44af71ac2690e7d28a0ba9530fd3cb1261446272a00e1 SHA512 1672257c9b81808bd913712167d152a981f5cf9deca0224a057e4c25f5bbacef0b7dcf6fe72080efd47b807d3b7b00639db344c143468c2d95f82663bcb9e1d4
+EBUILD bedrock-server-1.16.40.02.ebuild 1118 BLAKE2B 15615680a29dd763080f6fe275a1289b1590943c6f4584328fa8cd4ab9d5d911cb9b274f5f8ecb854d1534c5d264a1bf929aa363b870ebfbd37ae1191acb1a13 SHA512 97462a2c38905e4063886cc4fe214d7c98cb93d15fe77bc84451b62f18904cd6ba3510132e9e52ed7f748af6cf5249178b9eec4729013143484269c36e14e2e4
MISC metadata.xml 675 BLAKE2B 3ec51700c778a9fc9aaf65c9d1a3eac6f55a7db55a24a63c6c1e3890a0e84ab0cf85eadb9b6044529841d87570a47e8674dfe94405587ee2a54f496aedbde374 SHA512 4c1236b575d84e2cb657477c446b0a09e150e19db654acc24ff5fa9e6ad5953c5b14901192845714476c8a3c894e6a32f570c17aedd68e244bd4d93d13fd92b5
diff --git a/games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild b/games-server/bedrock-server/bedrock-server-1.16.100.04.ebuild
index ceeced788eae..a60cb02addb6 100644
--- a/games-server/bedrock-server/bedrock-server-1.16.1.02.ebuild
+++ b/games-server/bedrock-server/bedrock-server-1.16.100.04.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://minecraft.azureedge.net/bin-linux/${P}.zip"
LICENSE="Mojang"
SLOT="0"
-KEYWORDS="-* amd64"
+KEYWORDS="-* ~amd64"
RDEPEND="
acct-group/bedrock
@@ -46,7 +46,8 @@ src_install() {
dodir /opt/bin
dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server
- newinitd "${FILESDIR}"/bedrock-server.initd-r1 bedrock-server
+ newinitd "${FILESDIR}"/bedrock-server.initd-r2 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
einstalldocs
}
diff --git a/games-server/bedrock-server/bedrock-server-1.16.40.02.ebuild b/games-server/bedrock-server/bedrock-server-1.16.40.02.ebuild
index a60cb02addb6..c7480a4e40c6 100644
--- a/games-server/bedrock-server/bedrock-server-1.16.40.02.ebuild
+++ b/games-server/bedrock-server/bedrock-server-1.16.40.02.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://minecraft.azureedge.net/bin-linux/${P}.zip"
LICENSE="Mojang"
SLOT="0"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
RDEPEND="
acct-group/bedrock
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
-}