===> The following configuration options are available for minecraft-server-26.1.2:
====> Options available for the single RUN: you have to select exactly one of them
DAEMON=off: Run as a service
STANDALONE=on: Run the .jar file directly
===> Use 'make config' to modify these settings
Reason:
The file structure of how worlds and their data are stored have been
changed since new 26.1 version.
If you upgrade from a version older than 26.1 (v1.21.11 for example),
you can get the following error during wold upgrade:
"
net.minecraft.util.filefix.virtualfilesystem.exception.CowFSSymlinkException:
Cannot build copy-on-write file system when symlink is present: ./world
"
To successfully migrate your world, you must relocate /var/db/minecraft
content in /usr/local/minecraft/world, then launch 'minecraft-server'
as usual.
When 'world' upgrade is finished, stop 'minecraft-server' then relocate
your world in initial folder /var/db/minecraft-server.
Approximate list of commands:
# service minecraft stop
# mv /usr/local/minecraft/world /usr/local/minecraft/world.bak
# mv /var/db/minecraft-server /usr/local/minecraft/world
# service minecraft start
Wait until the conversion is complete.
# service minecraft stop
# mv /usr/local/minecraft/world /var/db/minecraft-server
# /usr/local/minecraft/world.bak /usr/local/minecraft/world
# service minecraft start
Enjoy!
games/minecraft-server: Fix java version in rc script
The service fails to start - the default value for the Java version was
"21+" instead of the specific "N" selected during build according to
DEFAULT_VERSIONS+=java=N.
Replace JAVA_VERSION with JAVA_PORT_VERSION in SUB_LIST.
Approved by: blanket (fix runtime)
MFH: 2026Q1
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
games/minecraft-server: Update 1.21 → 1.21.1
Changes:
- Fixed critical exploits that could be used to crash servers
- Added language support for Tzotzil and Belarusian (Latin)
https://www.minecraft.net/en-us/article/minecraft-java-edition-1-21-1
PR: 280869
Approved by: Jonathan Price <freebsd@jonathanprice.org> (maintainer)
MFH: 2024Q3
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
games/minecraft-server: Update to 1.12.2
While here, mark as architecture neutral.
PR: 224792
Submitted by: Jonathan Price <freebsd@jonathanprice.org> (maintainer)
Create a symlink minecraft-server/minecraft_server.jar pointing to the
latest version of the jar (minecraft_server.1.9.4.jar)
Update the LICENSE text
PR: 210097
Submitted by: Jonathan Price (maintainer)
Approved by: matthew
- Update to version 1.8.6 [1]
- Parametrize PORTVERSION occurances in pkg-plist and scripts
- Make sure paths are correct in minecraft-server script by
using PREFIX sub
PR: 200539 [1]
Submitted by: Jonathan Price <freebsd@jonathanprice.org> (maintainer) [1]
games/minecraft-server: fix issues that resulted from recent upgrade
* Fix version reference in server script
* Remove blank sample files
* Add note in pkg-message how to upgrade from version 1.4.6
* Note in pkg-deinstall files files might exist in $ETCDIR as well
(even though pkg also mentions this)
PR: 194312
Reported by: Helge Oldach
Final fix by: maintainer (Jonathan Price)
- Fix MASTER_SITES to point to the correct version everytime [1]
- Bump to 1.4.7 to reflect the real distinfo version
The version for downloaded file was actually 1.4.7, but VERSION was
mistakenly set to 1.4.6.
PR: ports/178004 [1]
Submitted by: John Marino <draco@marino.st> [1]
Approved by: culot (mentor), maintainer (timeout, > 14 days)
- Update DESKTOP_ENTRIES:
* rephrase Comment field or use port ${COMMENT} if appropriate
* adjust Icon field according to the Desktop Entry Specification
* update Categories field: remove deprecated category Application;
set main category if missing
- Remove indefinite article and/or rephrase COMMENT
Approved by: portmgr (bapt), maintainer silence (12 days)
- Update to 1.2.3
- fix MASTER_SITES
- while here tighten Makefile for configuration files
use DATADIR in pkg-plist (portlint)
PR: ports/165666
Submitted by: Martin Kropfinger,freebsd@rakor-net.de
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Update to minecraft server 1.1.0
- See http://www.minecraftwiki.net/wiki/Version_history
- Add secondary download site since minecraft changes often, and does not keep
old versions
- Fix (one more time), plist/sub
Submitted by: maintainer
Approved by: maintainer, gabor (mentor, implicit)
- Functionality upgrade. Add in *.txt.sample files so that uninstall/pkg_delete
won't delete users settings [1]
- Add mcserver user to GIDs/UIDs [1]
- Added rc startup script [1]
- Lots of PLIST_SUB/SUB_FILES patches to allow substitution, moved several pkg*
files to files/*.in [1]
- made USERS a ?= in case server had previously been running as a different user
[2]
PR: ports/163920 [1]
Submitted by: maintainer [1]
Reviewed by: scheidell [2]
Approved by: maintainer, gabor (mentor)
- The server for the block building game Minecraft
PR: ports/162515
Submitted by: Martin Kropfinger <freebsd@rakor-net.de> (maintainer)
Approved by: gabor (mentor)