debian/0000755000000000000000000000000011404151641007163 5ustar debian/examples0000644000000000000000000000007211344233225010725 0ustar contrib.cfg template/*.html template/*.lst template/*.txt debian/doc-base0000644000000000000000000000043311403026366010567 0ustar Document: qstatdoc Title: QStat documentation Author: Steve Jankowski, Ludwig Nussel and others. Abstract: This document describes QStat and its available options. Section: Games/Tools Format: HTML Index: /usr/share/doc/qstat/qstatdoc.html Files: /usr/share/doc/qstat/qstatdoc.html debian/changelog0000644000000000000000000002132411404151401011031 0ustar qstat (2.11-3) unstable; urgency=low * Pass --with autotools_dev to dh for automatic config.{guess,sub} updating. -- Jordi Mallach Thu, 10 Jun 2010 13:55:43 +0200 qstat (2.11-2) unstable; urgency=low * Move qstat to collab-maint's SVN. Add corresponding Vcs fields. * Move to debhelper 7. * Rewrite rules using dh. Adjust Build-Depends accordingly. * Add a Homepage field. * Switch to source package format 3.0 (quilt). * Stop using CDBS' simple-patchsys. * Delete uneeded debian/dirs file. * Remove duplicate Priority and Section fields. * Update Standards-Version from 3.6.1 to 3.8.4 (no changes needed). * Build-Depend on autotools-dev, with the hope that dh will automagically refresh the very outdated helper files. * Add a watch file. * Add a doc-base file for qstatdoc.html, to appease lintian. * Add overrides for "package-section-games-but-contains-no-game": while qstat is useful for gamers, it's not a game itself. * Pass --enable-dump to configure. * Add spelling_fixes.patch with corrections to a few spelling errors spotted by lintian. * Add version_string.patch, which adds a --version option to print Qstat version (as used by help2man). * Add help_output.patch to fix some style and formatting issues with qstat's help output. * Add manpage for qstat (initially generated by help2man), 7 years later (closes: #222511). -- Jordi Mallach Mon, 07 Jun 2010 01:10:10 +0200 qstat (2.11-1) unstable; urgency=low * New upstream release. -- Jordi Mallach Sat, 4 Nov 2006 19:20:50 +0100 qstat (2.10-1) unstable; urgency=low * New upstream release. -- Jordi Mallach Sun, 23 Oct 2005 18:39:06 +0200 qstat (2.8-1) unstable; urgency=low * New upstream release. -- Jordi Mallach Sat, 9 Apr 2005 16:27:25 +0200 qstat (2.7-1) unstable; urgency=low * New upstream release. * debian/rules: qstat now uses autotools. Adapt cdbs accordingly. * debian/examples: adjust not to include automake stuff. * debian/docs: add a few .txt files. -- Jordi Mallach Thu, 23 Dec 2004 14:32:18 +0100 qstat (2.6-1) unstable; urgency=low * New upstream release. * debian/patches/00_cvs_HEAD.patch: removed. -- Jordi Mallach Sun, 15 Aug 2004 15:17:03 +0200 qstat (2.5c-3) unstable; urgency=low * debian/patches/00_cvs_HEAD.patch: update to current CVS as of 20040605. Thanks to Ludwig Nussel for providing a snapshot. No thanks to SourceForge's broken anonymous CVS access. * debian/changelog: fix bad release target in -2 (closes: #249133). -- Jordi Mallach Mon, 7 Jun 2004 14:13:21 +0200 qstat (2.5c-2) unstable; urgency=low * qstat.cfg: drop the UT2S config, it's not needed in 2.5c. * debian/changelog: + fix typo in previous entry. + remove obsolete local emacs variables. * debian/control: + build-depend on cdbs, bump required debhelper to >= 4.1.0. + slightly improve the description. + bump Standards-Version to 3.6.1.0 (no changes required) * debian/compat: set debhelper compatibility version (4) here. * debian/rules: + rewrite using cdbs. * debian/patches/00_cvs_HEAD.patch: update to current CVS to pick up changes needed by several new games supported by XQF. -- Jordi Mallach Tue, 25 Nov 2003 15:02:01 +0100 qstat (2.5c-1) unstable; urgency=low * New upstream release. * debian/control: Standards-Version: 2.5.7.1. * debian/copyright: Qstat is under the Artistic license since 2.5a. Update accordingly. * debian/rules: + set SYSCONFDIR correctly (thanks, Ian Hastie; closes: #168392). + add support for "noopt" DEB_BUILD_OPTIONS, drop "debug". * qstat.cfg: add UT2S configuration from Ian. If anyone wants to see some other config not included already, please file a bug and I'll add it. -- Jordi Mallach Sun, 17 Nov 2002 01:11:42 +0100 qstat (2.5b-1) unstable; urgency=low * New upstream release. * Applied patch from Ludwig Nussel to fix q3 and tribes2 broadcasts. * debian/control: Build-Depend: on debhelper >= 4.0.0. * debian/dirs: + added /etc. + removed /usr/games, /usr/share/man/man6, readded /usr/bin, /usr/share/man/man1. * debian/docs: removed qstat.txt. * debian/examples: added contrib.cfg. * debian/rules: + DH_COMPAT=4. + define sysconfdir in CFLAGS. + install quakestat back in /usr/bin, after talking to some users. qstat is really an admin tool, not a game. + removed dh_make cruft. -- Jordi Mallach Mon, 12 Aug 2002 22:08:22 +0200 qstat (2.4e-1) unstable; urgency=low * New upstream release. -- Jordi Mallach Fri, 5 Oct 2001 04:29:52 +0200 qstat (2.4d-1) unstable; urgency=low * New upstream release. * debian/control: Standards-Version: 3.5.6.0 (no changes). -- Jordi Mallach Thu, 9 Aug 2001 04:08:52 +0200 qstat (2.4c-1) unstable; urgency=low * New Maintainer. Thanks Michael! * New upstream release (closes: #94589). * The tarball isn't pristine, I removed ms-dos .exe crap from it. * debian/control: + added Build-Depends (debhelper 3) + Standards-Version: 3.5.5.5 * debian/copyright: updated download URL. * debian/dirs: changed binary dir. * debian/rules: + new; based it on dh-make + moved the binary and manpage to /usr/games and section 6 + support for DEB_BUILD_OPTIONS `debug' and `strip' -- Jordi Mallach Fri, 8 Jun 2001 17:27:00 +0200 qstat (2.4a-1) frozen unstable; urgency=low * New upstream release -- Michael Alan Dorman Wed, 10 Jan 2001 16:37:31 -0500 qstat (2.3g-1) frozen unstable; urgency=low * Ben Collins took it upon himself to upgraded the two bugs relating to a unnecessary postinst prompt to important. Whaveter. (closes: bug#58099, bug#58912) * New upstream non-beta release. Figured I might as well get the non-beta in since I've been forced to do an upload anyway. -- Michael Alan Dorman Wed, 1 Mar 2000 14:39:51 -0500 qstat (2.3f-1) frozen unstable; urgency=low * New upstream version, needed for new version of xqf which was removed from potato because of a bug reporting it as out of date. * Change the postinst to try and work around a bug I couldn't reproduce (closes: bug#56532) -- Michael Alan Dorman Thu, 3 Feb 2000 23:20:05 -0500 qstat (2.3e-1) unstable frozen; urgency=low * New upstream version. Fixes many bugs with Q3A * Updated description (closes: bug#54179) -- Michael Alan Dorman Mon, 10 Jan 2000 13:41:51 -0500 qstat (2.3d-1) unstable; urgency=low * First update in a long time. -- Michael Alan Dorman Tue, 4 Jan 2000 20:58:04 -0500 qstat (2.2b-1) unstable; urgency=low * New upstream version. Many thanks to Roderick for dealing with this package for quite some time. * Maintainer release (closes: bug#26570) * This package has nothing to do with dqs (closes: bug#31126) -- Michael Alan Dorman Sun, 11 Apr 1999 16:05:45 -0400 qstat (2.1z-2.1a-0.1) unstable; urgency=low * Another NMU of a new upstream release. The version I'd done the previous NMU of was actually out of date, the 2.1a release is newer than the 2.1z I'd packaged. I'm using this odd version number because the upstream author implied he won't use odd numbering in the future, and so I don't want to saddle the real maintainer with an epoch. * The qstat binary is renamed to quakestat, due to the conflict with the POSIX queueing system. -- Roderick Schertler Wed, 14 Oct 1998 19:57:53 -0400 qstat (2.1z-0.2) unstable; urgency=low * Conflict with dqs, which also contains a binary called qstat. The name of the qstat binary in dqs is mandated by POSIX, I'll contact the upstream qstat author about possibly renaming this package. -- Roderick Schertler Mon, 12 Oct 1998 10:24:30 -0400 qstat (2.1z-0.1) unstable; urgency=low * NMU of new upstream release. * Don't compress copyright. * Call the upstream changelog changelog, not changelog.upstream. * Call the Debian changelog changelog.Debian, not changelog.debian. * Add section and priority to control file, pass -isp to dpkg-gencontrol. * Update standards version to 2.4.1.4 (no changes). * Remove substvars in clean target. -- Roderick Schertler Thu, 8 Oct 1998 00:08:37 -0400 qstat (2.0b-1) unstable; urgency=low * Initial Debianization. -- Michael Alan Dorman Fri, 30 Jan 1988 12:27:41 -0500 Local variables: user-mail-address: "mdorman@debian.org" End: debian/source/0000755000000000000000000000000011404151541010462 5ustar debian/source/format0000644000000000000000000000001411377017160011677 0ustar 3.0 (quilt) debian/control0000644000000000000000000000130111403022406010554 0ustar Source: qstat Maintainer: Jordi Mallach Section: games Priority: optional Build-Depends: autotools-dev, debhelper (>= 7.0.50~) Standards-Version: 3.8.4 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/qstat/trunk Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/qstat/trunk/ Homepage: http://qstat.org/ Package: qstat Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: xqf (<< 0.9.2-1) Description: Command-line tool for querying quake (and other) servers Qstat provides a simple interface for querying servers for a number of games, including but not limited to quake, quakeworld, quake2, quake3arena, unreal tournament or half-life. debian/copyright0000644000000000000000000000121211344233225011114 0ustar This is Debian GNU/Linux's prepackaged version of Steve Jankowski 's Qstat, for querying Quake servers. Qstat was debianized by Michael Alan Dorman on Fri, 30 Jan 1998 12:27:41 -0500 Jordi Mallach took over the packaging on Fri, 08 Jun 2001 05:37:00 +0200. Qstat was downloaded from http://www.qstat.org/ . Qstat is Copyright (C) 1996,1997,1998,1999,2000,2001,2002 Steve Jankowski. You are free to distribute this software under the terms of the Artistic licence. In Debian systems, the complete text of the Artistic licence can be found in the /usr/share/common-licenses/Artistic file. debian/lintian-overrides0000644000000000000000000000006211403023437012542 0ustar qstat: package-section-games-but-contains-no-game debian/manpages0000644000000000000000000000002311403004550010667 0ustar debian/quakestat.1 debian/compat0000644000000000000000000000000211377017160010367 0ustar 7 debian/patches/0000755000000000000000000000000011404151541010611 5ustar debian/patches/version_option.patch0000644000000000000000000000237311403023327014713 0ustar Description: Add a --version option Add a --version option that just prints Qstat's version, and adapt usage() to use it instead of duplicating it. Author: Jordi Mallach Forwarded: no Index: b/qstat.c =================================================================== --- a/qstat.c 2010-06-07 00:10:13.841997312 +0200 +++ b/qstat.c 2010-06-07 00:10:17.082002496 +0200 @@ -2579,6 +2579,12 @@ char * strndup( const char *string, size_t len); #define FORCE 1 +/* Print Qstat version information and exit */ +void print_version() { + printf( "\nqstat version %s\n", VERSION); + exit(0); +} + /* Print an error message and the program usage notes */ @@ -2682,7 +2688,7 @@ printf( "Sort keys:\n"); printf( " servers: p=by-ping, g=by-game, i=by-IP-address, h=by-hostname, n=by-#-players, l=by-list-order\n"); printf( " players: P=by-ping, F=by-frags, T=by-team, N=by-name\n"); - printf( "\nqstat version %s\n", VERSION); + print_version(); exit(0); } @@ -3238,6 +3244,9 @@ else if ( strcmp( argv[arg], "--help") == 0) { usage(NULL,argv,NULL); } + else if ( strcmp( argv[arg], "--version") == 0) { + print_version(); + } else if ( strcmp( argv[arg], "-f") == 0) { arg++; if ( arg >= argc) debian/patches/series0000644000000000000000000000007411403012502012017 0ustar version_option.patch help_output.patch spelling_fixes.patch debian/patches/help_output.patch0000644000000000000000000002245511403023226014207 0ustar Description: Fix some formatting issues with Qstat's help output The main motivation for this is to make the help output usable with help2man. Some harmonization fixes have been made to capitalization and usage of trailing dots. Author: Jordi Mallach Forwarded: no Index: b/qstat.c =================================================================== --- a/qstat.c 2010-06-07 00:33:30.078496543 +0200 +++ b/qstat.c 2010-06-07 00:33:30.366001557 +0200 @@ -2598,9 +2598,10 @@ if ( msg) fprintf( stderr, msg, a1); + printf( "%s -- Tool for querying gaming servers\n", argv[0]); printf( "Usage: %s [options ...]\n", argv[0]); - printf( "\t[-default server-type] [-cfg file] [-f file] [host[:port]] ...\n"); - printf( "Where host is an IP address or host name\n"); + printf( " [-default server-type] [-cfg file] [-f file] [host[:port]] ...\n"); + printf( " Where host is an IP address or host name\n\n"); sorted_types = (server_type **) malloc( sizeof(server_type *) * n_server_types ); type = &types[0]; @@ -2614,75 +2615,75 @@ for ( i = 0; i < n_server_types; i++ ) { type = sorted_types[i]; - printf( "%s\t\tquery %s server\n", type->type_option, type->game_name ); + printf( " %s\t\tquery %s server\n", type->type_option, type->game_name ); } quicksort( (void**)sorted_types, 0, n_server_types-1, (int (*)(void*,void*)) type_string_compare ); - printf( "-default\tset default server type:"); + printf( " -default\tset default server type:"); for ( i = 0; i < n_server_types; type++, i++ ) { type = sorted_types[i]; printf( " %s", type->type_string ); } puts(""); - printf( "-nocfg\t\tIgnore qstat configuration loaded from any default location. Must be the first option on the command-line.\n" ); - printf( "-cfg\t\tread the extended types from given file not the default one\n"); - printf( "-f\t\tread hosts from file\n"); - printf( "-R\t\tfetch and display server rules\n"); - printf( "-P\t\tfetch and display player info\n"); - printf( "-sort\t\tsort servers and/or players\n"); - printf( "-u\t\tonly display servers that are up\n"); - printf( "-nf\t\tdo not display full servers\n"); - printf( "-ne\t\tdo not display empty servers\n"); - printf( "-nh\t\tdo not display header line.\n" ); - printf( "-cn\t\tdisplay color names instead of numbers\n"); - printf( "-ncn\t\tdisplay color numbers instead of names\n"); - printf( "-hc\t\tdisplay colors in #rrggbb format\n"); - printf( "-tc\t\tdisplay time in clock format (DhDDmDDs)\n"); - printf( "-tsw\t\tdisplay time in stop-watch format (DD:DD:DD)\n"); - printf( "-ts\t\tdisplay time in seconds\n"); - printf( "-pa\t\tdisplay player address\n"); - printf( "-hpn\t\tdisplay player names in hex\n"); - printf( "-hsn\t\tdisplay server names in hex\n"); - printf( "-nh\t\tdo not display header\n"); - printf( "-old\t\told style display\n"); - printf( "-progress\tdisplay progress meter (text only)\n"); - printf( "-retry\t\tnumber of retries, default is %d\n", DEFAULT_RETRIES); - printf( "-interval\tinterval between retries, default is %.2f seconds\n", + printf( " -nocfg\t\tIgnore qstat configuration loaded from any default location. Must be the first option on the command-line\n" ); + printf( " -cfg\t\tread the extended types from given file not the default one\n"); + printf( " -f\t\tread hosts from file\n"); + printf( " -R\t\tfetch and display server rules\n"); + printf( " -P\t\tfetch and display player info\n"); + printf( " -sort\t\tsort servers and/or players\n"); + printf( " -u\t\tonly display servers that are up\n"); + printf( " -nf\t\tdo not display full servers\n"); + printf( " -ne\t\tdo not display empty servers\n"); + printf( " -nh\t\tdo not display header line\n" ); + printf( " -cn\t\tdisplay color names instead of numbers\n"); + printf( " -ncn\t\tdisplay color numbers instead of names\n"); + printf( " -hc\t\tdisplay colors in #rrggbb format\n"); + printf( " -tc\t\tdisplay time in clock format (DhDDmDDs)\n"); + printf( " -tsw\t\tdisplay time in stop-watch format (DD:DD:DD)\n"); + printf( " -ts\t\tdisplay time in seconds\n"); + printf( " -pa\t\tdisplay player address\n"); + printf( " -hpn\t\tdisplay player names in hex\n"); + printf( " -hsn\t\tdisplay server names in hex\n"); + printf( " -nh\t\tdo not display header\n"); + printf( " -old\t\told style display\n"); + printf( " -progress\tdisplay progress meter (text only)\n"); + printf( " -retry\t\tnumber of retries, default is %d\n", DEFAULT_RETRIES); + printf( " -interval\tinterval between retries, default is %.2f seconds\n", DEFAULT_RETRY_INTERVAL / 1000.0); - printf( "-mi\t\tinterval between master server retries, default is %.2f seconds\n", + printf( " -mi\t\tinterval between master server retries, default is %.2f seconds\n", (DEFAULT_RETRY_INTERVAL*4) / 1000.0); - printf( "-timeout\ttotal time in seconds before giving up\n"); - printf( "-maxsim\t\tset maximum simultaneous queries\n"); - printf( "-sendinterval\t\tset time in ms between sending packets, default %u\n", sendinterval); - printf( "-errors\t\tdisplay errors\n"); - printf( "-allowserverdups\t\tallow adding multiple servers with same ip:port (needed for ts2)\n"); - printf( "-of\t\toutput file\n"); - printf( "-af\t\tLike -of, but append to the file\n" ); - printf( "-raw \toutput in raw format using as delimiter\n"); - printf( "-mdelim \tFor rules with multi values use as delimiter\n"); - printf( "-xml\t\toutput status data as an XML document\n"); - printf( "-Th,-Ts,-Tpt\toutput templates: header, server and player\n"); - printf( "-Tr,-Tt\t\toutput templates: rule, and trailer\n"); - printf( "-srcport \tSend packets from these network ports\n"); - printf( "-srcip \tSend packets using this IP address\n"); - printf( "-H\t\tresolve host names\n"); - printf( "-Hcache\t\thost name cache file\n"); - printf( "-carets\t\tDisplay carets in Quake 3 player names\n" ); - printf( "-d\t\tEnable debug options. Specify multiple times to increase debug level.\n"); + printf( " -timeout\ttotal time in seconds before giving up\n"); + printf( " -maxsim\t\tset maximum simultaneous queries\n"); + printf( " -sendinterval\t\tset time in ms between sending packets, default %u\n", sendinterval); + printf( " -errors\t\tdisplay errors\n"); + printf( " -allowserverdups\t\tallow adding multiple servers with same ip:port (needed for ts2)\n"); + printf( " -of\t\toutput file\n"); + printf( " -af\t\tlike -of, but append to the file\n" ); + printf( " -raw \toutput in raw format using as delimiter\n"); + printf( " -mdelim \tfor rules with multi values use as delimiter\n"); + printf( " -xml\t\toutput status data as an XML document\n"); + printf( " -Th, -Ts, -Tpt\toutput templates: header, server and player\n"); + printf( " -Tr, -Tt\t\toutput templates: rule, and trailer\n"); + printf( " -srcport \tsend packets from these network ports\n"); + printf( " -srcip \tsend packets using this IP address\n"); + printf( " -H\t\tresolve host names\n"); + printf( " -Hcache \thost name cache file\n"); + printf( " -carets\t\tdisplay carets in Quake 3 player names\n" ); + printf( " -d\t\tenable debug options. Specify multiple times to increase debug level\n"); #ifdef ENABLE_DUMP - printf( "-dump\t\twrite received raw packets to dumpNNN files which must not exist before\n"); - printf( "-pkt \tuse file as server reply instead of quering the server. Works only with TF_SINGLE_QUERY servers\n"); + printf( " -dump\t\twrite received raw packets to dumpNNN files which must not exist before\n"); + printf( " -pkt \tuse file as server reply instead of quering the server. Works only with TF_SINGLE_QUERY servers\n"); #endif - printf( "-htmlmode\tConvert <, >, and & to the equivalent HTML entities\n" ); - printf( "-htmlnames\tColorize Quake 3 and Tribes 2 player names using html font tags\n" ); - printf( "-nohtmlnames\tDo not colorize Quake 3 and Tribes 2 player names even if $HTML is used in an output template.\n" ); - printf( "-showgameport\tAlways display the game port in QStat output.\n" ); - printf( "-noportoffset\tDont use builtin status port offsets ( assume query port was specified ).\n" ); - printf( "-raw-arg\tWhen used with -raw, always display the server address as it appeared in a file or on the command-line.\n" ); - printf( "-utf8\t\tUse the UTF-8 character encoding for XML output.\n" ); + printf( " -htmlmode\tconvert <, >, and & to the equivalent HTML entities\n" ); + printf( " -htmlnames\tcolorize Quake 3 and Tribes 2 player names using html font tags\n" ); + printf( " -nohtmlnames\tdo not colorize Quake 3 and Tribes 2 player names even if $HTML is used in an output template\n" ); + printf( " -showgameport\talways display the game port in QStat output\n" ); + printf( " -noportoffset\tdont use builtin status port offsets (assume query port was specified)\n" ); + printf( " -raw-arg\twhen used with -raw, always display the server address as it appeared in a file or on the command-line\n" ); + printf( " -utf8\t\tuse the UTF-8 character encoding for XML output\n" ); #ifdef _WIN32 - printf( "-noconsole\t\tFree the console\n" ); + printf( " -noconsole\t\tfree the console\n" ); #endif printf( "\n"); printf( "Sort keys:\n"); debian/patches/spelling_fixes.patch0000644000000000000000000000354611403023256014655 0ustar Description: Fix spelling errors in user visible strings Author: Jordi Mallach Forwarded: no Index: b/qstat.c =================================================================== --- a/qstat.c 2010-06-07 00:10:17.366495893 +0200 +++ b/qstat.c 2010-06-07 00:10:17.653996023 +0200 @@ -2673,13 +2673,13 @@ printf( " -d\t\tenable debug options. Specify multiple times to increase debug level\n"); #ifdef ENABLE_DUMP printf( " -dump\t\twrite received raw packets to dumpNNN files which must not exist before\n"); - printf( " -pkt \tuse file as server reply instead of quering the server. Works only with TF_SINGLE_QUERY servers\n"); + printf( " -pkt \tuse file as server reply instead of querying the server. Works only with TF_SINGLE_QUERY servers\n"); #endif printf( " -htmlmode\tconvert <, >, and & to the equivalent HTML entities\n" ); printf( " -htmlnames\tcolorize Quake 3 and Tribes 2 player names using html font tags\n" ); printf( " -nohtmlnames\tdo not colorize Quake 3 and Tribes 2 player names even if $HTML is used in an output template\n" ); printf( " -showgameport\talways display the game port in QStat output\n" ); - printf( " -noportoffset\tdont use builtin status port offsets (assume query port was specified)\n" ); + printf( " -noportoffset\tdo not use builtin status port offsets (assume query port was specified)\n" ); printf( " -raw-arg\twhen used with -raw, always display the server address as it appeared in a file or on the command-line\n" ); printf( " -utf8\t\tuse the UTF-8 character encoding for XML output\n" ); #ifdef _WIN32 @@ -8647,7 +8647,7 @@ case 2: strcpy(str,"COOP"); break; case 3: strcpy(str,"SOLO"); break; case 4: strcpy(str,"TEAM"); break; - default: sprintf(str,"UNKOWN %u",pkt[0]); break; + default: sprintf(str,"UNKNOWN %u",pkt[0]); break; }; add_rule( server, "gamemode", str, NO_FLAGS); debian/watch0000644000000000000000000000006211403022676010216 0ustar version=3 http://sf.net/qstat/qstat-(.+)\.tar\.gz debian/quakestat.10000644000000000000000000001653011403236011011246 0ustar .\" This manpage is based on the original automatic generation by .\" help2man 1.38.2, with further modifications, additions and corrections .\" by Jordi Mallach. .\" .\" Part of this manpage are Copyright © 2010 Jordi Mallach . .\" This manpage is distributed under the same licence as the Qstat .\" package. .\" .TH QSTAT "1" "June 2010" "qstat " "User Commands" .SH NAME qstat \- Tool for querying gaming servers .SH SYNOPSIS .B qstat [\fIoptions \fR...] [\fI-default server-type\fR] [\fI-cfg file\fR] [\fI-f file\fR] [\fIhost\fR[\fI:port\fR]] ... .TP Where host is an IP address or host name .SH DESCRIPTION Qstat provides a simple interface for querying servers for a number of games, including but not limited to quake, quakeworld, quake2, quake3arena, unreal tournament or half-life. .P For servers running a game, the server name, map name, current number of players, and response time are displayed. Server rules and player information may also be displayed. .SH OPTIONS .TP \fB\-a2s\fR query Half\-Life 2 new server .TP \fB\-ams\fR query America's Army v2.x server .TP \fB\-bfs\fR query BFRIS server .TP \fB\-d3g\fR query Descent3 Gamespy Protocol server .TP \fB\-d3m\fR query Descent3 Master (PXO) server .TP \fB\-d3p\fR query Descent3 PXO protocol server .TP \fB\-d3s\fR query Descent3 server .TP \fB\-dm3m\fR query Doom 3 Master server .TP \fB\-dm3s\fR query Doom 3 server .TP \fB\-efm\fR query Star Trek: Elite Force server .TP \fB\-efs\fR query Star Trek: Elite Force server .TP \fB\-eye\fR query All Seeing Eye Protocol server .TP \fB\-fcs\fR query FarCry server .TP \fB\-gps\fR query Gamespy Protocol server .TP \fB\-grs\fR query Ghost Recon server .TP \fB\-gs2\fR query Gamespy V2 Protocol server .TP \fB\-gs3\fR query Gamespy V3 Protocol server .TP \fB\-gs4\fR query Gamespy V4 Protocol server .TP \fB\-gsm\fR query Gamespy Master server .TP \fB\-h2s\fR query Hexen II server .TP \fB\-hl2s\fR query Half\-Life 2 server .TP \fB\-hlm\fR query Half\-Life Master server .TP \fB\-hls\fR query Half\-Life server .TP \fB\-hrs\fR query Heretic II server .TP \fB\-hws\fR query HexenWorld server .TP \fB\-jk3m\fR query Jedi Knight: Jedi Academy server .TP \fB\-jk3s\fR query Jedi Knight: Jedi Academy server .TP \fB\-kps\fR query Kingpin server .TP \fB\-preys\fR query PREY server .TP \fB\-prs\fR query Pariah server .TP \fB\-q2m\fR query Quake II Master server .TP \fB\-q2s\fR query Quake II server .TP \fB\-q3m\fR query Quake III Master server .TP \fB\-q3s\fR query Quake III: Arena server .TP \fB\-q4m\fR query Quake 4 Master server .TP \fB\-q4s\fR query Quake 4 server .TP \fB\-qs\fR query Quake server .TP \fB\-qwm\fR query QuakeWorld Master server .TP \fB\-qws\fR query QuakeWorld server .TP \fB\-rss\fR query Ravenshield server .TP \fB\-rwm\fR query Return to Castle Wolfenstein Master server .TP \fB\-rws\fR query Return to Castle Wolfenstein server .TP \fB\-sas\fR query Savage server .TP \fB\-sfs\fR query Soldier of Fortune server .TP \fB\-sgs\fR query Shogo: Mobile Armor Division server .TP \fB\-sns\fR query Sin server .TP \fB\-stm\fR query Steam Master server .TP \fB\-t2m\fR query Tribes 2 Master server .TP \fB\-t2s\fR query Tribes 2 server .TP \fB\-tbm\fR query Tribes Master server .TP \fB\-tbs\fR query Tribes server .TP \fB\-tm\fR query TrackMania server .TP \fB\-ts2\fR query Teamspeak 2 server .TP \fB\-uns\fR query Unreal server .TP \fB\-ut2004m\fR query UT2004 Master server .TP \fB\-ut2s\fR query Unreal Tournament 2003 server .TP \fB\-default\fR set default server type: a2s ams bfs d3g d3m d3p d3s dm3m dm3s efm efs eye fcs gps grs gs2 gs3 gs4 gsm h2s hl2s hlm hls hrs hws jk3m jk3s kps preys prs q2m q2s q3m q3s q4m q4s qs qwm qws rss rwm rws sas sfs sgs sns stm t2m t2s tbm tbs tm ts2 uns ut2004m ut2s .TP \fB\-nocfg\fR Ignore qstat configuration loaded from any default location. Must be the first option on the command\-line. .TP \fB\-cfg\fR read the extended types from given file not the default one .TP \fB\-f\fR read hosts from file .TP \fB\-R\fR fetch and display server rules .TP \fB\-P\fR fetch and display player info .TP \fB\-sort\fR sort servers and/or players .TP \fB\-u\fR only display servers that are up .TP \fB\-nf\fR do not display full servers .TP \fB\-ne\fR do not display empty servers .TP \fB\-nh\fR do not display header line. .TP \fB\-cn\fR display color names instead of numbers .TP \fB\-ncn\fR display color numbers instead of names .TP \fB\-hc\fR display colors in #rrggbb format .TP \fB\-tc\fR display time in clock format (DhDDmDDs) .TP \fB\-tsw\fR display time in stop\-watch format (DD:DD:DD) .TP \fB\-ts\fR display time in seconds .TP \fB\-pa\fR display player address .TP \fB\-hpn\fR display player names in hex .TP \fB\-hsn\fR display server names in hex .TP \fB\-nh\fR do not display header .TP \fB\-old\fR old style display .TP \fB\-progress\fR display progress meter (text only) .TP \fB\-retry\fR number of retries, default is 3 .TP \fB\-interval\fR interval between retries, default is 0.50 seconds .TP \fB\-mi\fR interval between master server retries, default is 2.00 seconds .TP \fB\-timeout\fR total time in seconds before giving up .TP \fB\-maxsim\fR set maximum simultaneous queries .TP \fB\-sendinterval\fR set time in ms between sending packets, default 5 .TP \fB\-errors\fR display errors .TP \fB\-allowserverdups\fR allow adding multiple servers with same ip:port (needed for ts2) .TP \fB\-of\fR output file .TP \fB\-af\fR Like \fB\-of\fR, but append to the file .TP \fB\-raw\fR \fI\fR output in raw format using as delimiter .TP \fB\-mdelim\fR \fI\fR For rules with multi values use as delimiter .TP \fB\-xml\fR output status data as an XML document .TP \fB\-Th\fR, \fB\-Ts\fR, \fB\-Tpt\fR output templates: header, server and player .TP \fB\-Tr\fR, \fB\-Tt\fR output templates: rule, and trailer .TP \fB\-srcport\fR \fI\fR Send packets from these network ports .TP \fB\-srcip\fR \fI\fR Send packets using this IP address .TP \fB\-H\fR resolve host names .TP \fB\-Hcache\fR \fI\fR host name cache file .TP \fB\-carets\fR Display carets in Quake 3 player names .TP \fB\-d\fR Enable debug options. Specify multiple times to increase debug level .TP \fB\-dump\fR write received raw packets to dumpNNN files which must not exist before .TP \fB\-pkt\fR \fI\fR use file as server reply instead of querying the server. Works only with TF_SINGLE_QUERY servers .TP \fB\-htmlmode\fR Convert <, >, and & to the equivalent HTML entities .TP \fB\-htmlnames\fR Colorize Quake 3 and Tribes 2 player names using html font tags .TP \fB\-nohtmlnames\fR Do not colorize Quake 3 and Tribes 2 player names even if $HTML is used in an output template .TP \fB\-showgameport\fR Always display the game port in QStat output .TP \fB\-noportoffset\fR Do not use builtin status port offsets (assume query port was specified) .TP \fB\-raw\-arg\fR When used with \fB\-raw\fR, always display the server address as it appeared in a file or on the command\-line .TP \fB\-utf8\fR Use the UTF\-8 character encoding for XML output. .SS "Sort keys:" .IP servers: p=by\-ping, g=by\-game, i=by\-IP\-address, h=by\-hostname, n=by\-#\-players, l=by\-list\-order .br players: P=by\-ping, F=by\-frags, T=by\-team, N=by\-name .TP This manpage describes qstat version 2.11. .SH SEE ALSO \fI/usr/share/doc/qstat/qstatdoc.html\fR .SH AUTHOR This manual page was originally written by Jordi Mallach , for the Debian system and is distributed under the same licence as Qstat itself. debian/rules0000755000000000000000000000042411404151240010236 0ustar #!/usr/bin/make -f %: dh --with autotools_dev $@ override_dh_auto_configure: dh_auto_configure -- --enable-dump override_dh_auto_install: make install DESTDIR=$(CURDIR)/debian/qstat mv $(CURDIR)/debian/qstat/usr/bin/qstat \ $(CURDIR)/debian/qstat/usr/bin/quakestat debian/docs0000644000000000000000000000005511344233225010040 0ustar qstatdoc.html template/README.txt info/*.txt debian/README.Debian0000644000000000000000000000054311344233225011230 0ustar qstat for Debian ---------------- The `qstat' binary is called `quakestat' on Debian systems. This is because the POSIX queuing system specifies a different program called `qstat'. This local change was made with the blessing of Steve Jankowski, the author of qstat. Sorry for the inconvenience it causes. -- Michael Alan Dorman