--- tinymux-2.6.5.28.orig/debian/README.Debian +++ tinymux-2.6.5.28/debian/README.Debian @@ -0,0 +1,78 @@ +tinymux for Debian +------------------ + +* This tinymux is installed globally. Individual user accounts are setup + by running `tinymux-install' from the desired top-level directory for the + account. A tinymux game/ directory will be created for the user. + + -- Ervin Hearn III , Mon, 25 Oct 2004 19:14:38 + +Notes from the TinyMUX INSTALL file: +- When starting from a MUX from scratch, do the following: + + - cd to the game directory. 'cd ../game' + - Make your configuration file, as described in docs/CONFIGURATION + - Type './Startmux'. TinyMUX 2.6 automatically creates a minimal + DB if one does not exist in the game/data directory. + - Log into the game as player wizard 'connect wizard potrzebie', + and shut it down again. + +- Edit the .txt files in game/text to your liking. In particular + connect.txt and motd.txt. + +- Start up TinyMUX 2.6 by running './Startmux' again. + +- @ccreate a channel named 'Public', and a channel named 'Guests' from + within the MUX. Created players will automatically be joined to + 'Public'with alias 'pub', guests will automatically join 'Guests' with + alias 'g'. + + +Changes to dbconvert: +~~~~~~~~~~~~~~~~~~~~ + - dbconvert is the means by which the binary game data is converted to + flatfile format and back again. The db_load and db_unload scripts + simplify the process for the user. + + - The syntax of the scripts is: + + - './db_load netmux netmux.flat netmux.db' + + This converts flatfiled database to binary for use by the server and + would be done with dbconvert thus: + + ../bin/dbconvert -dnetmux -inetmux.flat -onetmux.db -l + + - './db_unload netmux netmux.db.new netmux.flat' + + This converts binary data to flatfile for would be done with dbconvert + thus: + + ../bin/dbconvert -dnetmux -inetmux.db.new -onetmux.flat -u + + +Instructions for Existing Games: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[NOTE: It is HIGHLY recommended that you preserve a previous setup if +you can, to make conversion a bit less painful. If you had one while +converting, make sure the conversion process has completed successfully +before you delete your old distribution. We cannot stress enough to +you the importance of protecting your data throughout any conversion +or upgrade.] + + - Put databases in game/data. + + - Put text files in game/text. + + - The scripts db_load, db_unload, and db_check may be found in the + game/data directory. + + - If you changed the GAMENAME in mux.config, be sure to change + the filenames in GAMENAME.conf as well. + + - If you had a mail database previously, adjust mail_expiration + accordingly, BEFORE you restart the game, or else ALL @mail older + than the default value of 14 days will be deleted. + +- Start TinyMUX 2.6 by running './Startmux'. + --- tinymux-2.6.5.28.orig/debian/changelog +++ tinymux-2.6.5.28/debian/changelog @@ -0,0 +1,82 @@ +tinymux (2.6.5.28-1ubuntu2) trusty; urgency=medium + + * Use autotools-dev to update config.{sub,guess} for new arches. + + -- Logan Rosen Sat, 25 Jan 2014 22:13:46 -0500 + +tinymux (2.6.5.28-1ubuntu1) quantal; urgency=low + + * src/slave.cpp: rename stpcpy to not collide with the one in string.h + + -- Julian Taylor Wed, 10 Oct 2012 20:09:35 +0200 + +tinymux (2.6.5.28-1build1) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 21:28:14 -0700 + +tinymux (2.6.5.28-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Sun, 29 Jun 2008 20:13:26 -0600 + +tinymux (2.6.5.27-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Fri, 11 Apr 2008 23:18:25 -0600 + +tinymux (2.4.3.31-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix buffer overflow CVE-2007-1655. Closes: #417539 + + -- Andreas Barth Sat, 23 Jun 2007 13:49:59 +0000 + +tinymux (2.4.3.31-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Sat, 7 Oct 2006 11:33:07 -0400 + +tinymux (2.4.2.27-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Mon, 6 Feb 2006 02:55:44 -0500 + +tinymux (2.3.5.25-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Sat, 17 Dec 2005 13:20:58 -0500 + +tinymux (2.3.5.24-2) unstable; urgency=low + + * Added missing class declaration for CLinearTimeDelta (patch by + Andreas Jochens) and removed #ifdef check for IEEE floating point + check (patch from upstream). Tinymux now builds from source with + newer gcc/g++ versions. Closes: #323106 + + -- Ervin Hearn III Sat, 1 Oct 2005 19:46:04 -0400 + +tinymux (2.3.5.24-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Wed, 17 Aug 2005 02:54:15 -0400 + +tinymux (2.3.4.23-1) unstable; urgency=low + + * New upstream release + + -- Ervin Hearn III Tue, 18 Jan 2005 14:26:24 -0500 + +tinymux (2.3.3.22-1) unstable; urgency=low + + * Initial Release. (closes: #281283) + + -- Ervin Hearn III Mon, 25 Oct 2004 19:14:38 -0400 + --- tinymux-2.6.5.28.orig/debian/compat +++ tinymux-2.6.5.28/debian/compat @@ -0,0 +1 @@ +4 --- tinymux-2.6.5.28.orig/debian/control +++ tinymux-2.6.5.28/debian/control @@ -0,0 +1,25 @@ +Source: tinymux +Section: games +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Ervin Hearn III +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 4.0.0), binutils (>= 2.12.90 ), autotools-dev +Standards-Version: 3.8.0 +Vcs-Svn: http://tinymux.googlecode.com/svn/trunk/ +Vcs-Browser: http://code.google.com/p/tinymux/source/browse/trunk +Homepage: http://www.tinymux.org/ + +Package: tinymux +Architecture: any +Depends: ${shlibs:Depends} +Description: text-based multi-user virtual world server + This is the TinyMUX flavor of mud servers of the MUSH branch. It + provides a number of robust features to enable players to extend + the virtual world. This is done by building new rooms and objects, + and utilizing its internal programming language, MUSHcode. + . + TinyMUX doesn't provide the superset of features available in other + MUSH flavors, but those it does implement provide a stable and + robust environment that performs as well or better than that of its + peers. --- tinymux-2.6.5.28.orig/debian/copyright +++ tinymux-2.6.5.28/debian/copyright @@ -0,0 +1,227 @@ +This package was debianized by Ervin Hearn III on +Mon, 25 Oct 2004 19:14:38 -0400. + +It was downloaded from http://www.tinymux.com/ + +Copyright: + +Upstream Author: Stephen Dennis + +License: + + MUX Source Code (version 2.0 through 2.6). + Copyright (C) 1999-2004 by Solid Vertical Domains, Ltd. + Copyright (C) 2005-2008 Stephen Dennis + Contact: Stephen Dennis + + TinyMUX Source Code (versions 1.0 through 1.6) + Copyright (c) 1995, 1996, 1997, 1998, 1999, David Passmore. + + TinyMUSH 2.2 Source Code + Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Lydia Leong, + Jean Marie Diaz, and Deborah Wilson-Hooker. + + TinyMUSH 2.0 Source code + Copyright (c) 1991, Joseph Traub and Glenn Crocker. All rights reserved. + + Based on TinyMUD code + Copyright (c) 1995, David Applegate, James Aspnes, Timothy Freeman, + and Bennet Yee. All rights reserved. + (Modified by these authors from the original 1989, 1990 TinyMUD copyright.) + + + + TinyMUX 2.0 is a derivation of TinyMUX 1.6 which is a derivation of + TinyMUSH 2.0.10 patchlevel 6. TinyMUSH 2.0 is dervived from TinyMUD. + + There are also portions of source code derived from PennMUSH 1.50. + + The TinyMUD copyright follows below. PennMUSH, TinyMUSH 2.0 and + TinyMUX 1.6 are now released under the OSI-standard Artistic License. + + + + Revised TinyMUD copyright: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that: (1) source code distributions + retain the above copyright notice and this paragraph in its entirety, + and (2) distributions including binary code include the above copyright + notice and this paragraph in its entirety in the documentation or other + materials provided with the distribution. The names of the copyright + holders may not be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + + + TinyMUX 2.6 Copyright: The Artistic License + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to + make reasonable modifications. + + Definitions: + - "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + - "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes of + the Copyright Holder. + - "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + - "You" is you, if you're thinking about copying or distributing + this Package. + - "Reasonable copying fee" is whatever you can justify on the basis + of media cost, duplication charges, time of people involved, and + so on. (You will not be required to justify it to the Copyright + Holder, but only to the computing community at large as a market + that must bear the fee.) + - "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. It + also means that recipients of the item may redistribute it under + the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of + the Standard Version of this Package without restriction, provided + that you duplicate all of the original copyright notices and + associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, + provided that you insert a prominent notice in each changed file + stating how and when you changed that file, and provided that you do + at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise make + them Freely Available, such as by posting said modifications to + Usenet or an equivalent medium, or placing the modifications on a + major archive site such as ftp.uu.net, or by allowing the Copyright + Holder to include your modifications in the Standard Version of the + Package. + + b) use the modified Package only within your corporation or + organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that + clearly documents how it differs from the Standard Version. + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library + files, together with instructions (in the manual page or + equivalent) on where to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) accompany any non-standard executables with their corresponding + Standard Version executables, giving the non-standard executables + non-standard names, and clearly documenting the differences in + manual pages (or equivalent), together with instructions on where + to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of + this Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) + software distribution provided that you do not advertise this Package + as a product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whomever generated + them, and may be sold commercially, and may be aggregated with this + Package. + + 7. C or perl subroutines supplied by you and linked into this Package + shall not be considered part of this Package. + + 8. The name of the Copyright Holder may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The author may be reached via email at brazilofmux@gmail.com. + + + + TinyMUX 1.6 Credits: + + James Callahan (Darkenelf), who contributed many patches, and ideas + (@teleport/quiet, @readcache fixes, side effect functions, many bug fixes). + + Chris (Children of the Atom) for many ideas and many bug finds. + + Ralph Melton (Rhyanna@Castle D'Image) for bugs reports, patches, ideas, + and extensions. + + T. Alexander Popiel for bug reports, patches, ideas, and extensions, too. + + Al Brown (Kalkin@DarkZone) for many clever ideas + + Kalkin(DarkZone) and Harlock(StarWarsII) who extended the comsystem and + added tons of new commands. + + Kalkin, again, for the basis of the mail alias and guest code, and the + idea of restarting on a fatal signal. + + Alan Schwartz (Javelin/Paul) and Lydia Leong (Amberyl), whose extended + mailer from PennMUSH is the basis for MUX's @mail system. Also, Brandy + (CrystalMUSH) whose +mail system inspired many of the features. + + Ethaniel and Kayan Telva (BTech3056) for the basic comsystem and macro + code. + + Dreamline(Horizons) who helped update the help text. + + Airam(Generations) for ideas on the stack and @program code. + + Mike(StarWars), idea for not saving GOING objects, and mail expiration + code. + + Dean Gaudet, for his user and hostname slave process code. + + Andrew Molitor, for the radix compression library, and some wonderful + utilities. + + Robby Griffin, whose skill in uncovering obscure bugs has saved + everyone a lot of time and effort. + + Many others. + + + + TinyMUSH 2.0 Credits: + Lawrence Foard: + Wrote the original TinyMUSH 1.0 code from which this later derived. + Jin (and MicroMUSH): + Made many, many changes to the code that improved it immensely. + Robert Hood (virus): + Modified the interface.c code to support alots of users. + Lachesis: + Introduced the idea of property lists to TinyMUCK + Many others: + Many features borrowed from other muds. + --- tinymux-2.6.5.28.orig/debian/dirs +++ tinymux-2.6.5.28/debian/dirs @@ -0,0 +1,3 @@ +usr/games +usr/share/tinymux +usr/share/tinymux/game --- tinymux-2.6.5.28.orig/debian/docs +++ tinymux-2.6.5.28/debian/docs @@ -0,0 +1,15 @@ +ATTACK +CHANGES +NOTES +README +SGP +docs/BACKUPS +docs/CONFIGURATION +docs/CONVERSION +docs/CREDITS +docs/DISTRIBUTIONS +docs/GUESTS +docs/LIMITS +docs/MEMORY +docs/PATCHES +docs/REALMS --- tinymux-2.6.5.28.orig/debian/manpages +++ tinymux-2.6.5.28/debian/manpages @@ -0,0 +1,2 @@ +debian/tinymux.6 +debian/tinymux-install.1 --- tinymux-2.6.5.28.orig/debian/rules +++ tinymux-2.6.5.28/debian/rules @@ -0,0 +1,108 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g +DEB_INSTALL = usr/lib/tinymux/game +DEB_SHRINSTALL = usr/share/tinymux/game +DEB_BIN = usr/games + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + dh_autotools-dev_updateconfig + + # Add here commands to configure the package. + (cd src; ./configure --enable-realitylvls --enable-wodrealms) + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + (cd src; $(MAKE) depend) + (cd src; $(MAKE)) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up the package. + -(cd src; $(MAKE) clean) + -rm -f game/bin/dbconvert game/bin/netmux game/bin/slave src/unsplit \ + src/buildnum.data src/config.log src/config.status \ + src/Makefile src/autoconf.h + + dh_autotools-dev_restoreconfig + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tinymux. + dh_install game/* $(DEB_SHRINSTALL) + -rm -f $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/bin/netmux + -rm -f $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/bin/slave + -rm -f $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/bin/dbconvert + dh_install src/netmux $(DEB_INSTALL)/bin + dh_install src/slave $(DEB_INSTALL)/bin + dh_install debian/tinymux-install $(DEB_BIN) + chmod a+rX -R $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL) + chmod a-x $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/netmux.conf + chmod a+rx -R $(CURDIR)/debian/tinymux/$(DEB_INSTALL)/bin + chmod a+rx $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/data/db_check + chmod a+rx $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/data/db_load + chmod a+rx $(CURDIR)/debian/tinymux/$(DEB_SHRINSTALL)/data/db_unload + chmod a+rx $(CURDIR)/debian/tinymux/$(DEB_BIN)/tinymux-install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- tinymux-2.6.5.28.orig/debian/tinymux-install +++ tinymux-2.6.5.28/debian/tinymux-install @@ -0,0 +1,277 @@ +#!/bin/sh +# Program: mux-install +# Version: 0.0.1 +# Author: Ervin Hearn III (Noltar) +# Date: Thu, 11 Sep 2003 18:04:43 -0400. +# Copyright: +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the "Artistic License" which comes with Debian. +# +# THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES +# OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +# On Debian GNU/Linux systems, the complete text of the Artistic License +# can be found in `/usr/share/common-licenses/Artistic'. +# +# Description: +# +# This program installs the tinymux server for the user in the directory +# from which it is ran. It provides all configuration, data, and script +# files necessary for the user to initiate and run an instance of the +# tinymux server process, netmux. +# +# History: +# 0.0.1 Initial Release. + +NAME=tinymux-install +VERSION=0.0.1 +PKGDIR=`pwd`/tinymux +DSTDIR=$PKGDIR/game +SRCDIR=/usr/lib/tinymux/game +SHRDIR=/usr/share/tinymux/game +DWNDIR='' + + +################################################################ +# +# 0. Check options + +case "$1" in + '') + + ################################################################ + # + # 1. Install tinymux + # + + # + # 1.2 Helpers + # + + mkdstlns() + { + while [ $1 ]; do + ln -s $SRCDIR/$1 + shift + done + } + + mklns() + { + while [ $1 ]; do + ln -s $SRCDIR/$DWNDIR/$1 + shift + done + } + + mkshrlns() + { + while [ $1 ]; do + ln -s $SHRDIR/$DWNDIR/$1 + shift + done + } + + mkcps() + { + while [ $1 ]; do + cp $SRCDIR/$DWNDIR/$1 . + shift + done + } + + mkshrcps() + { + while [ $1 ]; do + cp $SHRDIR/$DWNDIR/$1 . + shift + done + } + + mkcdir() + { + cd $DSTDIR + mkdir -p $1 + cd $1 + DWNDIR=$1 + } + + echo -n "Installing tinymux in $DSTDIR" + + # + # 1.3 Create main tinymux directory + # + + mkdir $PKGDIR + cd $PKGDIR + + echo -n "." + + # + # 1.4 Do sanity check for existing tinymux installations + # + + if test -f ./$NAME; then + + echo "It's not good idea to install tinymux in the current directory." + echo "You should read 'man $NAME' and run it in a different directory." + exit + + fi + + if test -f ./src/tools/$NAME; then + + echo "If you want to use this script, you need to install tinymux globally" + echo "as root first, and then run this script. If you don't have the" + echo "necessary access, you should install tinymux normally from the source" + echo "or ask your system administrator about installing it globally." + exit + + fi + + if test -f ./game/Startmux; then + + echo "You should only run this once to install tinymux locally." + echo "All upgrades and modifications to the server itself are done" + echo "globally. Check with your system administrator if you are having" + echo "problems. If something is wrong with your configuration files," + echo "create a new directory and run '$NAME' in that and copy" + echo "you're modified files over." + exit + + fi + + echo -n "." + + # 1.5 Setup game directory + + # + # 1.5.1 Create base game directory + # + + mkdir $DSTDIR + cd $DSTDIR + mkshrcps *.conf mux.config _backupflat.sh Backup Startmux + + echo -n "." + + # + # 1.5.2 Make sure Startmux is executable by the user + # + + chmod u+x Startmux + + echo -n "." + + # + # 1.5.3 Link binaries + # + + mkcdir bin + mklns netmux slave + ln -s $SRCDIR/$DWNDIR/netmux dbconvert + + echo -n "." + + # 1.6 Setup data directory + + # + # 1.6.1 Create data directory + # + + mkcdir data + mkshrcps db_check db_load db_unload netmux.db + + echo -n "." + + # + # 1.6.2 Make sure db scripts are executable by the user + # + + chmod u+x db_check db_load db_unload + + echo -n "." + + # 1.7 Setup text files + + # + # 1.7.1 Create text directory + # + + mkcdir text + mkshrlns badsite.txt connect.txt create_reg.txt down.txt full.txt guest.txt \ + help.txt motd.txt news.txt newuser.txt plushelp.txt quit.txt \ + register.txt staffhelp.txt wizhelp.txt wizmotd.txt wiznews.txt + + echo "Done" + echo "** Be sure to change the 'port' entry in tinymux/game/netmux.conf to the" + echo "** one either assigned by your system admin or currently available on" + echo "** the system. For detailed information about greater configuration," + echo "** see /usr/share/docs/tinymux/CONFIGURATION." + echo "**" + echo "** After configuring the tinymux to your liking, run the ./Startmux script" + echo "** to start the tinymux. Then log into the tinymux as the player wizard with:" + echo " " + echo " connect wizard potrzebie" + echo " " + echo "** and change the password to something safe. Finally, fully shutdown" + echo "** the tinymux and restart it." + ;; + -v|--version) + + ################################################################ + # + # 1. Display version information + # + + echo "$NAME $VERSION Copyright (C) 2003 Ervin Hearn III" + echo "This program is free software; you can redistribute it and/or modify it" + echo "under the terms of the \"Artistic License\" which comes with Debian." + echo " " + echo "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED" + echo "WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES" + echo "OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + echo " " + echo "On Debian GNU/Linux systems, the complete text of the Artistic License" + echo "can be found in '/usr/share/common-licenses/Artistic'." + echo " " + echo "Report bugs to ." + exit 1 + ;; + *) + + ################################################################ + # + # 1. Display help information + # + + echo "$NAME $VERSION Copyright (C) 2003 Ervin Hearn III" + echo "This program is free software; you can redistribute it and/or modify it" + echo "under the terms of the \"Artistic License\" which comes with Debian." + echo " " + echo "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED" + echo "WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES" + echo "OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + echo " " + echo "On Debian GNU/Linux systems, the complete text of the Artistic License" + echo "can be found in '/usr/share/common-licenses/Artistic'." + echo " " + echo "Usage: $NAME [OPTION]" + echo " " + echo "Installs tinymux in the current directory for the user." + echo " " + echo "This program follows the usual GNU command line syntax, with long" + echo "options starting with two dashes ('-')." + echo " " + echo "Options:" + echo " -h, --help display this help and exit" + echo " -v, --version output version information and exit" + echo " " + echo "Report bugs to ." + exit 1 + ;; +esac + +exit 0 --- tinymux-2.6.5.28.orig/debian/tinymux-install.1 +++ tinymux-2.6.5.28/debian/tinymux-install.1 @@ -0,0 +1,56 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH TINYMUX-INSTALL 1 "October 25, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +tinymux-install \- installer for the tinymux flavor mush server +.SH SYNOPSIS +.B tinymux\-install +.RI [OPTION] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B tinymux-install +command. +It was written for the Debian distribution because the original program +does not have a manual page. +.PP +.B tinymux-install +is a program that installs the tinymux server in the user directory +from which it is ran. It provides all necessary data and configuration +files for each user account it is setup for, as well as the restart +script needed to initiate an instance of the tinymux server process. +.PP +.B tinymux-install +itself should only be run once per user to install the necessary files +and links. All updating of the tinymux server should be done on a +global level by the system administrator. +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`\-'). +A summary of options is included below. +.TP +.B \-h, \-\-help +display this help and exit +.TP +.B \-v, \-\-version +output version information and exit +.SH AUTHOR +This manual page was written by Ervin Hearn III , +for the Debian GNU/Linux system (but may be used by others). +.br +.SH SEE ALSO +.BR tinymux (6) --- tinymux-2.6.5.28.orig/debian/tinymux.6 +++ tinymux-2.6.5.28/debian/tinymux.6 @@ -0,0 +1,122 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH TINYMUX 6 "October 25, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +tinymux \- The TinyMUX mush server +.SH DESCRIPTION +This manual page documents briefly the +.B tinymux +mush server. +It was written for the Debian distribution because the original program +does not have a manual page. +.PP +This is the +.B TinyMUX +flavor of mud servers of the MUSH branch. It provides a number of +robust features to enable players to extend the virtual world. This +is done by building new rooms and objects, and utilizing its internal +programming language, MUSHcode. +.PP +.B TinyMUX +doesn't provide the superset of features available in other MUSH +flavors, but those it does implement provide a stable and robust +environment that performs as well as or better than that of its peers. +.SH CREDITS +TinyMUX 2.3 is derived from TinyMUX 1.6. It is maintained by Stephen Dennis +(Brazil@BrazilMUX) and would not exist without the generous contributions of +many individuals. Ideas for features, occasionally code, documentation, +project support, bug hunting, came from many places, including TinyMUSH, +ChaoticMUX, RhostMUSH, and PennMUSH. +.PP +We would like to thank the following people: +.HP +\- Barbarella@Pacifica for making it fun, for proving to me that MU'ing is a +Good Thing (tm), for pulling me into hosting and server work. Without the +choices she made, MUX 2.0 would never have happened. +.HP +\- David Passmore for his long time care and maintenance of TinyMUX. +.HP +\- Andrew Molitor, for the radix compression library, and some wonderful +utilities. +.HP +\- Soruk from AuroraMUSH for his long time contributions toward making and +keeping TinyMUX Linux compatible, as well as the sample config file found in +CONFIGURATION. +.HP +\- T. Alexander Popiel for help with conceptual issues in general and +specifically with the parser. +.HP +\- Steven Legowik (BEM@Erisian.net) for Makefile, cross-platform work, and +modifications to Backup. +.HP +\- Virginia Legowik (Audumla) and Lilith@Sandbox for committed readme and +helpfile work. For infrastructure support with web sites and mailing lists. +For making a team. +.HP +\- Ashen\-Shugar and RhostMUSH for their bug reports and support. +.HP +\- Robby Griffyn and ChaoticMUX for bug reports. +.HP +\- Lew Newby (Dragon) for his stress-testing, cross-platform builds, and bug +reports. +.HP +\- MacGuvyer @ Pacifica for a Unix patch for WoD-realms which led to porting +all of MUX 2.0 back to Unix. +.HP +\- Nick Gammon for the initial prototype of NT IO Completion ports. +.HP +\- Judge Dredd@Pacifica for specification of WOD_REALMS. +.HP +\- The large body of people who reported bugs or made useful suggestions along +the way: +.RS +Aranor, Asia, Audumla, Barbarella@Pacifica, BEM, Carmilla@Pacifica, +Chimera@Umbral Shards, Corum, Dark City@Pacifica, D'ceit@Santo Domini, +Dreamscape@Pacifica, Dune@Pacifica, Emma@Pacifica, Evan@Pacifica, +Farscape@Pacifica, Father Jethis@Pacifica, Geoffrey Gerrietts, +Godzilla@Pacifica, Hackers@Pacifica, Highlander@Pacifica, +Hitchhiker's Guide@Pacifica, Ian@everywhere, Idoru@Pacifica, +Incubus@Santo Domini, Jake, Jarod@Pacifica, +Johnny Mnemonic@Pacfica, Judge Dredd@Pacifica, Lucifer, Lydia Leong, +Macross@Pacifica, McGuyver@Pacifica, Meglos@Myrka, +Mephistopheles@Santo Domini, Michael@Pacifica, Morgan, Myrddin, +Neuromancer@Pacifica, Orpheus@Pacifica, Rimnal@Myrka, Robert G. Fisher, +Robin@Pacifica, Sailor Moon@Pacifica, Seraphim@Tokyo By Night, +Sesha@Granite, Six@Pacifica, Sixth Sense@Pacifica, Snow Crash@Pacifica, +Soylent Green@Pacifica, Squeeky-Bobo, Trek@Pacifica, +Twelve Monkeys@Pacifica, Valkryn@Pacifica, Vass@Pacifica, Vurt@Pacifica, +Xandar. +.RE +.HP +\- Many other people who may go unnamed. Dozens of people have contributed to +development of the TinyMUX family of servers, and we would like to thank them +for their hard work. +.SH AUTHOR +tinymux was written by Stephen Dennis (Brazil) +.PP +This manual page was written by Ervin Hearn III , +for the Debian GNU/Linux system (but may be used by others). +.SH SEE ALSO +.BR tinymux\-install (1) +.br +.HP +.B http://www.tinymux.com/ +The primary TinyMUX server webpage. +.br +.HP +.B http://www.godlike.com/mushman/ +Amberyl's MUSH Manual, outdated but still useful. --- tinymux-2.6.5.28.orig/src/.depend +++ tinymux-2.6.5.28/src/.depend @@ -13,23 +13,23 @@ eval.o: eval.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h functions.h file_c.o: file_c.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h command.h file_c.h interface.h flags.o: flags.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h command.h powers.h ansi.h -funceval.o: funceval.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h comsys.h functions.h misc.h powers.h pcre.h mail.h -functions.o: functions.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h functions.h funmath.h interface.h misc.h powers.h pcre.h +funceval.o: funceval.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h comsys.h functions.h misc.h powers.h pcre.h mail.h levels.h +functions.o: functions.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h functions.h funmath.h interface.h misc.h powers.h pcre.h levels.h funmath.o: funmath.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h functions.h funmath.h sha1.h -game.o: game.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h functions.h comsys.h file_c.h interface.h mguests.h muxcli.h pcre.h powers.h help.h +game.o: game.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h functions.h comsys.h file_c.h interface.h mguests.h muxcli.h pcre.h powers.h help.h levels.h help.o: help.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h help.h command.h htab.o: htab.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h local.o: local.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h functions.h command.h log.o: log.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h command.h -look.o: look.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h interface.h powers.h +look.o: look.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h interface.h powers.h levels.h mail.o: mail.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h powers.h mail.h -match.o: match.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h powers.h +match.o: match.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h powers.h levels.h mguests.o: mguests.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h mguests.h interface.h powers.h comsys.h -move.o: move.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h interface.h powers.h +move.o: move.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h interface.h powers.h levels.h muxcli.o: muxcli.cpp copyright.h muxcli.h -netcommon.o: netcommon.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h comsys.h file_c.h interface.h functions.h mguests.h powers.h svdreport.h +netcommon.o: netcommon.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h comsys.h file_c.h interface.h functions.h mguests.h powers.h svdreport.h levels.h object.o: object.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h mguests.h interface.h powers.h -predicates.o: predicates.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h interface.h powers.h +predicates.o: predicates.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h interface.h powers.h levels.h player.o: player.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h comsys.h functions.h interface.h powers.h svdreport.h sha1.h player_c.o: player_c.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h plusemail.o: plusemail.cpp autoconf.h copyright.h config.h _build.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h @@ -39,7 +39,7 @@ pcre.o: pcre.cpp autoconf.h copyright.h config.h pcre.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h set.o: set.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h attrs.h command.h powers.h sha1.o: sha1.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h sha1.h -speech.o: speech.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h interface.h powers.h +speech.o: speech.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h attrs.h command.h interface.h powers.h levels.h stringutil.o: stringutil.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h ansi.h pcre.h strtod.o: strtod.cpp autoconf.h copyright.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h svdrand.o: svdrand.cpp copyright.h autoconf.h config.h externs.h db.h attrcache.h flags.h timeutil.h match.h mudconf.h alloc.h htab.h svdhash.h stringutil.h svdrand.h --- tinymux-2.6.5.28.orig/src/config.sub +++ tinymux-2.6.5.28/src/config.sub @@ -391,6 +391,9 @@ abacus) basic_machine=abacus-unknown ;; + abacus) + basic_machine=abacus-unknown + ;; adobe68k) basic_machine=m68010-adobe os=-scout @@ -411,6 +414,12 @@ amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv @@ -446,6 +455,10 @@ basic_machine=c90-cray os=-unicos ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -792,6 +805,14 @@ basic_machine=powerpc-ibm os=-os400 ;; + or32 | or32-*) + basic_machine=or32-unknown + os=-coff + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose @@ -1241,6 +1262,9 @@ -linux-dietlibc) os=-linux-dietlibc ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -1256,6 +1280,9 @@ -os400*) os=-os400 ;; + -os400*) + os=-os400 + ;; -wince*) os=-wince ;; @@ -1305,6 +1332,9 @@ -tpf*) os=-tpf ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -1415,6 +1445,9 @@ or32-*) os=-coff ;; + or32-*) + os=-coff + ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; @@ -1432,6 +1465,9 @@ ;; *-knuth) os=-mmixware + ;; + *-knuth) + os=-mmixware ;; *-wec) os=-proelf --- tinymux-2.6.5.28.orig/src/slave.cpp +++ tinymux-2.6.5.28/src/slave.cpp @@ -48,7 +48,7 @@ // // copy a string, returning pointer to the null terminator of dest // -char *stpcpy(char *dest, const char *src) +char *mystpcpy(char *dest, const char *src) { while ((*dest = *src)) { @@ -92,9 +92,9 @@ { pHName = hp->h_name; } - p = stpcpy(buf, ip); + p = mystpcpy(buf, ip); *p++ = ' '; - p = stpcpy(p, pHName); + p = mystpcpy(p, pHName); *p++ = '\n'; *p++ = '\0'; @@ -194,7 +194,7 @@ fclose(f); p = (char *)format_inet_addr(buf2, ntohl(sin.sin_addr.s_addr)); *p++ = ' '; - p = stpcpy(p, result); + p = mystpcpy(p, result); *p++ = '\n'; *p++ = '\0'; }