summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server')
-rw-r--r--games-server/bedrock-server/Manifest4
-rw-r--r--games-server/bedrock-server/bedrock-server-1.19.1.01.ebuild (renamed from games-server/bedrock-server/bedrock-server-1.18.12.01-r2.ebuild)0
-rw-r--r--games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild (renamed from games-server/bedrock-server/bedrock-server-1.18.33.02.ebuild)0
-rw-r--r--games-server/minecraft-server/Manifest1
-rw-r--r--games-server/minecraft-server/minecraft-server-1.19.ebuild53
5 files changed, 56 insertions, 2 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index f135228c415..583336d8a0f 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,2 @@
-DIST bedrock-server-1.18.12.01.zip 67706215 BLAKE2B 8047a014d01fef4e5e438ecfe5886b154fe424599d72e6c3405c8a7663df883e250e20ffa46e0eb6e9df5e867d22e5e193a0e389049cd67d355873cb0e68a798 SHA512 fe0bade92143759b4d0eccd4586a15b62083d95606cd62a7fb1fe5ec1a36496512a4414493c210f09c42b8c117db760236861913bbf6d17bc024cdfb83e5d1e2
-DIST bedrock-server-1.18.33.02.zip 76100826 BLAKE2B bbafb8433c955a1534f3dd57c155790e2a6def9028e212f378133b93eba3c2274eae17ca45413f974cfe657093f5c4ea352d6f02b877614eb8c618e4307a7e1d SHA512 060e0266c66464cbbb563088ac2341ad5e1dce7f2f0dd9fec5fd107739c0b7dc71e6ce271d6895cbed468721eb7d863efc2bb308321b92106d1b600ac5d3fd7e
+DIST bedrock-server-1.19.1.01.zip 72201104 BLAKE2B f8d28d8faaf813fc5b56620cc1439e4e3fe360b428cf6e4c535f04f11dd09a1918956e0ceb196a658b31d2c454e70df031faff6d922d3f857cbc295b55eb7a4b SHA512 45be61437e82a2b88881d50e8635ed9eb6a9fe24ba2cf305f1d397220b6139655bdf5b8f6a063cb5443ba3c6b4f15739623f4ea1cba7ba9e30ea10b21b1a508a
+DIST bedrock-server-1.19.2.02.zip 72204228 BLAKE2B 77259b006bdb3227ea45a6ba4a210b72e1adb23f8fe7b08b7e3607abb500e3f45175563c7adddf6f7683ad68618be50ee84418e91e14abba73bb7fccc129e143 SHA512 1f6571e4a5f183ed376c42879e4882acd46bc5b3130a4dcf324bd740843eff24d8c3d7d0d5914c8db2acdf41ada0a912b56f1ac600df97d8664fec47ee1be25c
diff --git a/games-server/bedrock-server/bedrock-server-1.18.12.01-r2.ebuild b/games-server/bedrock-server/bedrock-server-1.19.1.01.ebuild
index 520bc15c7ab..520bc15c7ab 100644
--- a/games-server/bedrock-server/bedrock-server-1.18.12.01-r2.ebuild
+++ b/games-server/bedrock-server/bedrock-server-1.19.1.01.ebuild
diff --git a/games-server/bedrock-server/bedrock-server-1.18.33.02.ebuild b/games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild
index 16dd14a8e66..16dd14a8e66 100644
--- a/games-server/bedrock-server/bedrock-server-1.18.33.02.ebuild
+++ b/games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild
diff --git a/games-server/minecraft-server/Manifest b/games-server/minecraft-server/Manifest
index 58c3c985fd3..2de0e3bae4e 100644
--- a/games-server/minecraft-server/Manifest
+++ b/games-server/minecraft-server/Manifest
@@ -1 +1,2 @@
DIST minecraft-server-1.18.2.jar 46592587 BLAKE2B 1a6a1092fad0133a23a91e1db8d8057d418f52c23d04bcbe8e3578582bffe7d8c0e653c8893b78978fed05b2fc7b5f99643c35cae2c427d9ca76ff19aa6f8b58 SHA512 efc804cdce8b616126f1e0bb0bc43538571da85cd8cf25e8b0c9d787be6b2149319801389a90841b5450b029c248dda89de5d8295e93d0b58004d519c09b91a8
+DIST minecraft-server-1.19.jar 45538778 BLAKE2B 1f71b5f80746394fd747f6fecbdcecfb125f893dfc51aaf153150a16aa77894b6e8487dfd7b8f87000ff12f49135caa07221a2b885481ae20f54fa2cb4d6d1c8 SHA512 46db739cc49f5f3a31478467c0a470e35ef4c61e5030a9617f32da32efc45e290a2771d9b729b5272b1b6176cc5ca6675100f7fa1ba6e510a68b6cb96c7c88a8
diff --git a/games-server/minecraft-server/minecraft-server-1.19.ebuild b/games-server/minecraft-server/minecraft-server-1.19.ebuild
new file mode 100644
index 00000000000..50f1250ebce
--- /dev/null
+++ b/games-server/minecraft-server/minecraft-server-1.19.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EGIT_COMMIT="e00c4052dac1d59a1188b2aa9d5a87113aaf1122"
+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"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ acct-group/minecraft
+ acct-user/minecraft
+ app-misc/dtach
+ || (
+ dev-java/openjdk:17
+ dev-java/openjdk-bin:17
+ )
+"
+
+src_unpack() {
+ cp "${DISTDIR}/${A}" "${WORKDIR}" || die
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ newbin "${FILESDIR}"/minecraft-server-bin minecraft-server
+
+ java-pkg_newjar minecraft-server-${PV}.jar minecraft-server.jar
+
+ newinitd "${FILESDIR}"/minecraft-server.initd-r5 minecraft-server
+ newconfd "${FILESDIR}"/minecraft-server.confd-r1 minecraft-server
+ systemd_newunit "${FILESDIR}"/minecraft-server.service minecraft-server@.service
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}