Bug 210097 - [MAINTAINER] games/minecraft-server: licensing and symlink update
Summary: [MAINTAINER] games/minecraft-server: licensing and symlink update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2016-06-07 11:49 UTC by Jonathan Price
Modified: 2016-06-29 20:37 UTC (History)
3 users (show)

See Also:

SVN Patch File (1.60 KB, patch)
2016-06-07 11:49 UTC, Jonathan Price
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Price 2016-06-07 11:49:36 UTC
Created attachment 171138 [details]
SVN Patch File

There are two main changes in the update.

The first is the addition of a symlink, /usr/local/minecraft-server/minecraft_server.jar. This symlink will always point to the latest version of the minecraft server jar file (which at the time of writing is minecraft_server.1.9.4.jar). This was requested by Brody Dover as it allows for simpler scripting which can target a single filename. For now I have left the included scripts that reference the jar file pointing at the original jar file.

The second change is a review of the licensing for this port. The Minecraft server jar file is bound by the Minecraft EULA (available here: https://account.mojang.com/documents/minecraft_eula). In particular, I will quote the relevant section below:

“The one major rule is that you must not distribute anything we've made unless we specifically agree to it. By "distribute anything we've made" what we mean is:

- give copies of our Game to anyone else;
- make commercial use of anything we've made;
- try to make money from anything we've made; or
- let other people get access to anything we've made in a way that is unfair or unreasonable;

unless we specifically agree to it. And so that we are crystal clear, "the Game" or "what we have made" includes, but is not limited to, the client or the server software for our Game and includes Minecraft Pocket Edition on all platforms.”

After reviewing the ports documentation available on licensing restrictions (found here: https://wiki.freebsd.org/PortsLicenseInfrastructure), I have made the following additions:

LICENSE=        minecraft
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

This is my first attempt at handling licensing for a port, so please let me know if there are changes or improvements that can be made.

portlint -A output and a poudriere testport log are available upon request.
Comment 1 commit-hook freebsd_committer 2016-06-29 20:33:24 UTC
A commit references this bug:

Author: allanjude
Date: Wed Jun 29 20:32:58 UTC 2016
New revision: 417794
URL: https://svnweb.freebsd.org/changeset/ports/417794

  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