Date: Sun, 11 Apr 1999 14:16:23 +0200 From: Gianmarco Giovannelli <gmarco@giovannelli.it> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/11081: New port: games/tetrinet-x 1.13.16 Message-ID: <4.1.19990411135401.009b6100@194.184.65.4>
next in thread | raw e-mail | index | archive | help
>Number: 11081 >Category: ports >Synopsis: New port: games/tetrinet-x 1.13.16 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 11 15:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Gianmarco Giovannelli >Release: FreeBSD 4.0-CURRENT i386 >Organization: < Private > >Environment: FreeBSD 4.0-current (post egcs) and FreeBSD 3.1-STABLE >Description: 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) Homepage: ftp://ftp.dementia.nu/tetrinet/servers/tetrix Distfiles: tetrinet-x.1.13.16.tgz (89 kb) >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tetrinet-x # tetrinet-x/files # tetrinet-x/files/md5 # tetrinet-x/pkg # tetrinet-x/pkg/COMMENT # tetrinet-x/pkg/DESCR # tetrinet-x/pkg/PLIST # tetrinet-x/pkg/tetrinet-x.sh # tetrinet-x/patches # tetrinet-x/Makefile # echo c - tetrinet-x mkdir -p tetrinet-x > /dev/null 2>&1 echo c - tetrinet-x/files mkdir -p tetrinet-x/files > /dev/null 2>&1 echo x - tetrinet-x/files/md5 sed 's/^X//' >tetrinet-x/files/md5 << 'END-of-tetrinet-x/files/md5' XMD5 (tetrinet-x.1.13.16.tgz) = 23bc3740b24af02e29272c75063934da END-of-tetrinet-x/files/md5 echo c - tetrinet-x/pkg mkdir -p tetrinet-x/pkg > /dev/null 2>&1 echo x - tetrinet-x/pkg/COMMENT sed 's/^X//' >tetrinet-x/pkg/COMMENT << 'END-of-tetrinet-x/pkg/COMMENT' XTetriNET is an addictive 6 player tetr*s game END-of-tetrinet-x/pkg/COMMENT echo x - tetrinet-x/pkg/DESCR sed 's/^X//' >tetrinet-x/pkg/DESCR << 'END-of-tetrinet-x/pkg/DESCR' XTetriNET is an addictive 6 player tetr*s game X XWhat this program does is set up a TetriNET server that ordinary XTetriNET clients can connect to. It attempts to fix some of the X"glaring" holes in the TetriNET protocol that I discovered, and which XI'm sure some people use as cheats, but I now see why it is nearly Ximpossible to fix ;), without a modification to the client. XI've kept the server as close to the same as the original TetriNET Xserver, but I've added some extras that I've often wanted, such as Xthe "/kick" and "/ban" keywords. XPlease note, this server in no way encompasses the whole game. The clients Xare the ones that do most of the work, with the server just passing suitable Xpackets between each client, and of course adding some of it's own. X XAuthor: Brendan Grieve (brg@cheerful.com) XHomepage: ftp://ftp.dementia.nu/tetrinet/servers/tetrix XDistfiles: tetrinet-x.1.13.16.tgz (89 kb) X X- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it) END-of-tetrinet-x/pkg/DESCR echo x - tetrinet-x/pkg/PLIST sed 's/^X//' >tetrinet-x/pkg/PLIST << 'END-of-tetrinet-x/pkg/PLIST' Xtetrinet-x/tetrix.freebsd Xtetrinet-x/server-query Xtetrinet-x/game.conf Xtetrinet-x/game.log Xtetrinet-x/game.secure Xtetrinet-x/game.winlist Xetc/rc.d/tetrinet-x.sh X@dirrm tetrinet-x END-of-tetrinet-x/pkg/PLIST echo x - tetrinet-x/pkg/tetrinet-x.sh sed 's/^X//' >tetrinet-x/pkg/tetrinet-x.sh << 'END-of-tetrinet-x/pkg/tetrinet-x.sh' X#!/bin/sh X[ -x /usr/local/tetrinet-x/tetrix.freebsd ] && cd /usr/local/tetrinet-x && tetrix.freebsd > /dev/null && echo -n ' tetrinet-x' END-of-tetrinet-x/pkg/tetrinet-x.sh echo c - tetrinet-x/patches mkdir -p tetrinet-x/patches > /dev/null 2>&1 echo x - tetrinet-x/Makefile sed 's/^X//' >tetrinet-x/Makefile << 'END-of-tetrinet-x/Makefile' X# New ports collection makefile for: tetrinet-x-1.13.16 X# Version required: 1.13.16 X# Date created: 11 Apr 1999 X# Whom: gmarco@scotty.masternet.it X# X# $Id$ X# X XDISTNAME= tetrinet-x.1.13.16 XCATEGORIES= games XMASTER_SITES= http://www.giovannelli.it/~gmarco/files/ \ X ftp://ftp.dementia.nu/tetrinet/servers/tetrix/ XEXTRACT_SUFX= .tgz X XMAINTAINER= freebsd@scotty.masternet.it X XINSTALLDIR= ${PREFIX}/tetrinet-x X Xdo-build: X (cd ${WRKDIR}/tetrinetx-1.13.16/src && \ X gcc -O2 -fno-strength-reduce -Wall main.c -o ../bin/tetrix.freebsd) X (cd ${WRKDIR}/tetrinetx-1.13.16/contrib/query/src && \ X gcc -O2 -fno-strength-reduce -Wall query.c -o ../../../bin/server-query) X Xdo-install: X ${MKDIR} ${INSTALLDIR} X ${INSTALL_PROGRAM} ${WRKDIR}/tetrinetx-1.13.16/bin/tetrix.freebsd ${INSTALLDIR} X ${INSTALL_PROGRAM} ${WRKDIR}/tetrinetx-1.13.16/bin/server-query ${INSTALLDIR} X ${INSTALL_DATA} -m 644 ${WRKDIR}/tetrinetx-1.13.16/bin/game.conf ${INSTALLDIR} X ${INSTALL_DATA} -m 644 ${WRKDIR}/tetrinetx-1.13.16/bin/game.log ${INSTALLDIR} X ${INSTALL_DATA} -m 644 ${WRKDIR}/tetrinetx-1.13.16/bin/game.secure ${INSTALLDIR} X ${INSTALL_DATA} -m 644 ${WRKDIR}/tetrinetx-1.13.16/bin/game.winlist ${INSTALLDIR} X Xpost-install: X @${ECHO} "" X @${ECHO} "Installing ${PREFIX}/etc/rc.d/tetrinet-x.sh startup file." X @${INSTALL_SCRIPT} -m 751 ${PKGDIR}/tetrinet-x.sh ${PREFIX}/etc/rc.d X @${ECHO} "" X @${ECHO} "Please modify configuration files located in ${INSTALLDIR}" X @${ECHO} "before attempting to run Tetrinet server" X @${ECHO} "" X @${ECHO} "" X.include <bsd.port.mk> END-of-tetrinet-x/Makefile exit Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990411135401.009b6100>