summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-21 04:47:33 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-21 04:47:33 +0000
commit24dd4ea3426f1fcb764c01070eea00b119b2c7e9 (patch)
tree600c1de8cf2b6412f030a224ab4a79d36c2310ba /games-server/tetrix/files/1.13.16.1.40c-paths.patch
parentinitial ebuild (diff)
downloadhistorical-24dd4ea3426f1fcb764c01070eea00b119b2c7e9.tar.gz
historical-24dd4ea3426f1fcb764c01070eea00b119b2c7e9.tar.bz2
historical-24dd4ea3426f1fcb764c01070eea00b119b2c7e9.zip
its a server
Diffstat (limited to 'games-server/tetrix/files/1.13.16.1.40c-paths.patch')
-rw-r--r--games-server/tetrix/files/1.13.16.1.40c-paths.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/games-server/tetrix/files/1.13.16.1.40c-paths.patch b/games-server/tetrix/files/1.13.16.1.40c-paths.patch
new file mode 100644
index 000000000000..35b29a748c5d
--- /dev/null
+++ b/games-server/tetrix/files/1.13.16.1.40c-paths.patch
@@ -0,0 +1,42 @@
+--- src/config.h.orig 2003-09-13 21:04:28.894714336 -0400
++++ src/config.h 2003-09-13 21:07:43.610113096 -0400
+@@ -7,16 +7,16 @@
+ */
+
+ /* Location of the various external files */
+-#define FILE_MOTD "game.motd" /* Message of the Day File */
+-#define FILE_PMOTD "game.pmotd" /* Playback motd */
+-#define FILE_CONF "game.conf" /* Game configuration File */
+-#define FILE_WINLIST "game.winlist" /* Winlist storage file */
+-#define FILE_WINLIST2 "game.winlist2" /* Winlist storage file */
+-#define FILE_WINLIST3 "game.winlist3" /* Winlist storage file */
++#define FILE_MOTD "GENTOO_CONFDIR/game.motd" /* Message of the Day File */
++#define FILE_PMOTD "GENTOO_CONFDIR/game.pmotd" /* Playback motd */
++#define FILE_CONF "GENTOO_CONFDIR/game.conf" /* Game configuration File */
++#define FILE_WINLIST "GENTOO_STATEDIR/game.winlist" /* Winlist storage file */
++#define FILE_WINLIST2 "GENTOO_STATEDIR/game.winlist2" /* Winlist storage file */
++#define FILE_WINLIST3 "GENTOO_STATEDIR/game.winlist3" /* Winlist storage file */
+
+-#define FILE_BAN "game.ban" /* List of Banned IP's */
+-#define FILE_BAN_COMPROMISE "game.ban.compromise" /* List of Banned IP's */
+-#define FILE_ALLOW "game.allow" /* List of allow IP's */
+-#define FILE_LOG "game.log" /* Logfile */
+-#define FILE_PID "game.pid" /* Default PID */
+-#define FILE_SECURE "game.secure" /* Security file */
++#define FILE_BAN "GENTOO_CONFDIR/game.ban" /* List of Banned IP's */
++#define FILE_BAN_COMPROMISE "GENTOO_CONFDIR/game.ban.compromise" /* List of Banned IP's */
++#define FILE_ALLOW "GENTOO_CONFDIR/game.allow" /* List of allow IP's */
++#define FILE_LOG "GENTOO_LOGDIR/tetrix.log" /* Logfile */
++#define FILE_PID "/var/run/tetrix.pid" /* Default PID */
++#define FILE_SECURE "GENTOO_CONFDIR/game.secure" /* Security file */
+--- bin/game.conf.orig 2003-09-13 21:21:03.748473576 -0400
++++ bin/game.conf 2003-09-13 21:21:12.584130352 -0400
+@@ -8,7 +8,7 @@
+ # Any text after a # is ignored, and can be used as comments.
+
+ # pidfile [game.pid] - Where should the Process ID be written
+-pidfile=game.pid
++pidfile=/var/run/tetrix.pid
+
+ # bindip [0.0.0.0] - What IP should server be bound to (0.0.0.0 means all)
+ bindip=0.0.0.0