games/minecraft-server: Update to 1.19

Update to 1.19 and while here, also portclippy and portfmt a bit.

PR:             264773
This commit is contained in:
Jonathan Price 2022-06-09 10:43:50 +02:00 committed by Juraj Lutter
parent 7945adb0aa
commit e4195d5f2c
2 changed files with 19 additions and 20 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= minecraft-server
PORTVERSION= 1.18.1
PORTVERSION= 1.19
CATEGORIES= games java
MASTER_SITES= https://launcher.mojang.com/v1/objects/125e5adf40c659fd3bce3e66e67a16bb49ecc1b9/
MASTER_SITES= https://launcher.mojang.com/v1/objects/e00c4052dac1d59a1188b2aa9d5a87113aaf1122/
DISTNAME= server
EXTRACT_SUFX= .jar
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
@ -15,32 +15,31 @@ LICENSE_NAME= Minecraft End User License Agreement
LICENSE_TEXT= The license can be viewed at: https://account.mojang.com/documents/minecraft_eula
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell
OPTIONS_SINGLE= RUN
OPTIONS_SINGLE_RUN= DAEMON STANDALONE
USE_JAVA= yes
JAVA_VERSION= 17
DAEMON_DESC= Run as a service
STANDALONE_DESC= Run the .jar file directly
OPTIONS_SUB= yes
OPTIONS_DEFAULT= STANDALONE
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= minecraft-server pkg-deinstall pkg-message
SUB_LIST= VERSION=${PORTVERSION}
USERS= mcserver
GROUPS= ${USERS}
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 17
SUB_FILES= minecraft-server pkg-deinstall pkg-message
SUB_LIST= VERSION=${PORTVERSION}
PLIST_SUB= VERSION=${PORTVERSION}
CONFIG_FILES= banned-ips.json banned-players.json eula.txt ops.json \
server.properties usercache.json whitelist.json
DAEMON_VARS= USE_RC_SUBR=minecraft
DAEMON_RUN_DEPENDS= tmux:sysutils/tmux
OPTIONS_DEFAULT= STANDALONE
OPTIONS_SINGLE= RUN
OPTIONS_SINGLE_RUN= DAEMON STANDALONE
OPTIONS_SUB= yes
NO_ARCH= yes
DAEMON_DESC= Run as a service
STANDALONE_DESC= Run the .jar file directly
DAEMON_RUN_DEPENDS= tmux:sysutils/tmux
DAEMON_VARS= USE_RC_SUBR=minecraft
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1639124790
SHA256 (minecraft-server-1.18.1/server.jar) = ebcd120ad81480b968a548df6ffb83b88075e95195c8ff63d461c9df4df5dbdf
SIZE (minecraft-server-1.18.1/server.jar) = 46324407
TIMESTAMP = 1654715624
SHA256 (minecraft-server-1.19/server.jar) = deefd056f0cf89c3d7fd48d03f56a8a73943586e8c061fdabd0fd92d32ced2b2
SIZE (minecraft-server-1.19/server.jar) = 45538778