Bug 239180 - games/ioquake3 - add rc file and example server.cfg file
Summary: games/ioquake3 - add rc file and example server.cfg file
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: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 23:37 UTC by kennedy.greg
Modified: 2019-07-21 19:33 UTC (History)
1 user (show)

See Also:


Attachments
diff file for patch to games/ioquake3 (5.05 KB, patch)
2019-07-12 23:37 UTC, kennedy.greg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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