From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0CBB158094 for ; Wed, 27 Jul 2022 19:15:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AD47E09E5; Wed, 27 Jul 2022 19:15:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5F18E09E5 for ; Wed, 27 Jul 2022 19:15:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EEB834069A for ; Wed, 27 Jul 2022 19:15:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C8184FB for ; Wed, 27 Jul 2022 19:15:28 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1658949300.b903c841df2e6bcae3b52c090f59d3ac4e87612e.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-server/minecraft-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-server/minecraft-server/Manifest games-server/minecraft-server/minecraft-server-1.19.1.ebuild X-VCS-Directories: games-server/minecraft-server/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: b903c841df2e6bcae3b52c090f59d3ac4e87612e X-VCS-Branch: master Date: Wed, 27 Jul 2022 19:15:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c05b813-b8e8-4fc9-ae95-15830a37eb17 X-Archives-Hash: 0325e28cd19947cf8259b43fe504def3 commit: b903c841df2e6bcae3b52c090f59d3ac4e87612e Author: Conrad Kostecki gentoo org> AuthorDate: Wed Jul 27 19:15:00 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jul 27 19:15:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b903c841 games-server/minecraft-server: add 1.19.1 Signed-off-by: Conrad Kostecki gentoo.org> games-server/minecraft-server/Manifest | 1 + .../minecraft-server-1.19.1.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/games-server/minecraft-server/Manifest b/games-server/minecraft-server/Manifest index 739af98c0bf4..7efbf2ac71d6 100644 --- a/games-server/minecraft-server/Manifest +++ b/games-server/minecraft-server/Manifest @@ -1 +1,2 @@ +DIST minecraft-server-1.19.1.jar 45609936 BLAKE2B 2d9fae53c78dbab85d768577f98f8ad9eeda6ee57c87a0585a706e209a6d7c8c4c30c84ba39ae4041e4753b511e9f35e48d441f6f4b00a83c5e27965aa62554d SHA512 9ba0605e29d0923170512412ec91e1656d4ddf7420a25f5b031c6e84551feb837398402171fea4f26123a72f0965bdba26bddb2626df51e71168408ecb081044 DIST minecraft-server-1.19.jar 45538778 BLAKE2B 1f71b5f80746394fd747f6fecbdcecfb125f893dfc51aaf153150a16aa77894b6e8487dfd7b8f87000ff12f49135caa07221a2b885481ae20f54fa2cb4d6d1c8 SHA512 46db739cc49f5f3a31478467c0a470e35ef4c61e5030a9617f32da32efc45e290a2771d9b729b5272b1b6176cc5ca6675100f7fa1ba6e510a68b6cb96c7c88a8 diff --git a/games-server/minecraft-server/minecraft-server-1.19.1.ebuild b/games-server/minecraft-server/minecraft-server-1.19.1.ebuild new file mode 100644 index 000000000000..e90f1ac555f0 --- /dev/null +++ b/games-server/minecraft-server/minecraft-server-1.19.1.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="8399e1211e95faa421c1507b322dbeae86d604df" +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 +}