Subject: pkg/20070: New package games/tetrinetx
To: None <gnats-bugs@gnats.netbsd.org>
From: David Ferlier <david@netbsd-fr.org>
List: netbsd-bugs
Date: 01/26/2003 18:33:40
>Number:         20070
>Category:       pkg
>Synopsis:       New package games/tetrinetx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 26 09:35:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Ferlier
>Release:        NetBSD 1.6
>Organization:
>Environment:
System: NetBSD hell 1.6 NetBSD 1.6 (CATAPULT) #0: Sat Dec 14 20:38:30 CET 2002 root@hell:/usr/src/sys/arch/i386/compile/CATAPULT i386
>Description:
----
This is a tetrinet server.
I took the idea of this package from FreeBSD.

I reworked it a lot: i changed the config.h so that all the files it writes
are in /usr/pkg/share/tetrinetx (while freebsd let paths relative to the 
current working directory, so it has to do a cd in a safe path and exec
the server ...); i also modified config.h and main.c so that it writes
the server pid to /var/run/tetrinetx.pid.

I also wrote a DEINSTALL script similar to the one i wrote for pts.

Finally i wrote a rc.d script, and tested it.
----

DESCR file:

TetriNET is an addictive 6 player tetr*s game
   
What this program does is set up a TetriNET server that ordinary
TetriNET clients can connect to. It attempts to fix some of the
"glaring" holes in the TetriNET protocol that I discovered, and which
I'm sure some people use as cheats, but I now see why it is nearly
impossible to fix ;), without a modification to the client.
I've kept the server as close to the same as the original TetriNET
server, but I've added some extras that I've often wanted, such as
the "/kick" and "/ban" keywords.
Please note, this server in no way encompasses the whole game. The clients
are the ones that do most of the work, with the server just passing suitable
packets between each client, and of course adding some of it's own.

Author: Brendan Grieve (brg@cheerful.com)

>How-To-Repeat:

>Fix:
	http://happy-hacking.homeunix.org/packages/tetrinetx.tgz
>Release-Note:
>Audit-Trail:
>Unformatted: