summaryrefslogtreecommitdiff
path: root/games/hlserver-psychostats/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-11-23 18:57:43 +0000
committerPatrick Li <pat@FreeBSD.org>2001-11-23 18:57:43 +0000
commitd7b45ed5f90c983a5c91360354350f9f3e3efeb8 (patch)
tree6944903e501da229eeafa3e86e4dd81f0790c334 /games/hlserver-psychostats/files
parentFix IMAP/IMAP-SSL support. (diff)
Add hlserver-psychostats, a popular player statistics generator for
Half-Life mods Counter Strike and Day of Defeat. Submitted by: Martin Matuska <matuska@wu-wien.ac.at> Reviewed by: lioux
Notes
Notes: svn path=/head/; revision=50432
Diffstat (limited to 'games/hlserver-psychostats/files')
-rw-r--r--games/hlserver-psychostats/files/patch-stats11
-rw-r--r--games/hlserver-psychostats/files/patch-stats.cfg29
2 files changed, 40 insertions, 0 deletions
diff --git a/games/hlserver-psychostats/files/patch-stats b/games/hlserver-psychostats/files/patch-stats
new file mode 100644
index 000000000000..fe8a5d5a8105
--- /dev/null
+++ b/games/hlserver-psychostats/files/patch-stats
@@ -0,0 +1,11 @@
+--- stats.orig Fri Nov 23 13:20:38 2001
++++ stats Fri Nov 23 13:20:58 2001
+@@ -22,7 +22,7 @@
+ my $starttime = time(); # time when stats update started.
+
+ my $OS = $^O;
+-my $os_slash = ($OS eq 'linux') ? '/' : '\\';
++my $os_slash = ($OS eq 'linux' or 'FreeBSD') ? '/' : '\\';
+ my $progpath = &getprogdir(); # relative path the script is running in.
+
+ #push(@INC,$progpath);
diff --git a/games/hlserver-psychostats/files/patch-stats.cfg b/games/hlserver-psychostats/files/patch-stats.cfg
new file mode 100644
index 000000000000..19edfd057234
--- /dev/null
+++ b/games/hlserver-psychostats/files/patch-stats.cfg
@@ -0,0 +1,29 @@
+--- stats.cfg.orig Sun Nov 18 19:47:50 2001
++++ stats.cfg Sun Nov 18 19:47:05 2001
+@@ -12,13 +12,13 @@
+ # must be on its own line. The directories are loaded in the order given.
+
+ LogPath = {
+- /usr/games/halflife/hlds_l/cstrike/logs
++ %%PREFIX%%%%HLDSDIR%%cstrike/logs
+ }
+
+ # Destination HTML directory. This will usually be a path in your
+ # webserver root somewhere.
+
+-HtmlPath = /home/httpd/html/stats
++HtmlPath = %%LOCALBASE%%/www
+
+ # Define what type of server you're running.
+ # valid options: cstrike, dod
+@@ -37,8 +37,8 @@
+ # maps for download. If you don't provide maps for download, you don't
+ # need to worry about it.
+
+-PicsPath = /home/httpd/html/stats/images/mappics
+-DLPath = /home/httpd/html/cstrike/maps
++PicsPath = %%LOCALBASE%%/www/stats/images/mappics
++DLPath = %%LOCALBASE%%/www/stats/maps
+
+ # If a theme has a 'copy' option it will copy any files listed for it
+ # to the HTMLPATH if it does not already exist. Setting this option to