Bug 239180

Summary: games/ioquake3 - add rc file and example server.cfg file
Product: Ports & Packages Reporter: kennedy.greg
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
diff file for patch to games/ioquake3 none

Description kennedy.greg 2019-07-12 23:37:07 UTC
Created attachment 205740 [details]
diff file for patch to games/ioquake3

The port games/ioquake3-server can be used to build a dedicated server for Quake 3 and derivative games.  However, it doesn't come with an rc script to launch at system boot or on demand.  This makes it a bit tricky to run the dedicated server.

This port is a "slave port" that depends on the master port games/ioquake to actually retrieve the source and build everything.

I have modified the master port so it now builds and installs an rc script to launch when configured to build the server.  In addition, there is a sample .cfg file to start a LAN server which can be modified by the end user, but provides a sane starting point for running the game.

As requested on freebsd-ports mailing list, I am opening a PR and attaching the patch here.
Comment 1 Kurt Jaeger freebsd_committer 2019-07-21 19:31:45 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-07-21 19:33:35 UTC
A commit references this bug:

Author: pi
Date: Sun Jul 21 19:32:53 UTC 2019
New revision: 507066
URL: https://svnweb.freebsd.org/changeset/ports/507066

Log:
  games/ioquake3: add rc file and example server.cfg file

  The port games/ioquake3-server can be used to build a dedicated
  server for Quake 3 and derivative games.  However, it doesn't come
  with an rc script to launch at system boot or on demand.  This makes
  it a bit tricky to run the dedicated server.

  ioquake3-server is a "slave port" that depends on the master port
  games/ioquake3 to actually retrieve the source and build everything.

  This patch adds an rc script plus example server.cfg to the master port,
  which is installed when the slave port is installed.

  PR:		239180
  Submitted by:	kennedy.greg@gmail.com

Changes:
  head/games/ioquake3/Makefile
  head/games/ioquake3/files/ioq3ded.in
  head/games/ioquake3/files/server.cfg