debian/0000755000000000000000000000000011740630130007161 5ustar debian/crossfire-doc.docs0000644000000000000000000000036211404511067012602 0ustar doc/spoiler.ps doc/handbook.ps doc/PlayerStats doc/RunTimeCommands doc/SurvivalGuide doc/alchemy.doc doc/experience doc/skills.doc doc/spellcasters_guide_to_runes doc/multigod doc/Developers/ doc/spoiler*/ doc/spell-docs/ doc/playbook-html/ debian/source/0000755000000000000000000000000011405254167010473 5ustar debian/source/format0000644000000000000000000000001411405254167011701 0ustar 3.0 (quilt) debian/crossfire-server.logrotate0000644000000000000000000000026411406202737014417 0ustar /var/log/crossfire/logfile { daily missingok rotate 10 compress delaycompress postrotate killall -HUP -q -u games crossfire-server || true endscript } debian/compat0000644000000000000000000000000211405263253010365 0ustar 7 debian/crossfire-server.postinst0000644000000000000000000000071511740606575014314 0ustar #! /bin/sh -e case "$1" in configure) if [ ! -e /var/games/crossfire/clockdata ] ; then echo -n 0 > /var/games/crossfire/clockdata chmod 0644 /var/games/crossfire/clockdata chown games:games /var/games/crossfire/clockdata fi ;; abort-upgrade) # do nothing ;; abort-remove) # do nothing ;; abort-deconfigure) # do nothing ;; *) echo "$0: incorrect arguments: $*" >&2 exit 1 ;; esac #DEBHELPER# debian/rules0000755000000000000000000000223511740616354010257 0ustar #!/usr/bin/make -f DEB_BUILD_PARALLEL=yes DEB_FIXPERMS_EXCLUDE := /usr/games/crossfire /var/log/crossfire \ /var/games/crossfire \ /var/games/crossfire/datafiles \ /var/games/crossfire/players \ /var/games/crossfire/temp.maps \ /var/games/crossfire/unique-items include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk # useless notes for upgrading from pre 1.3.0 versions DEB_INSTALL_DOCS_ALL := -XNEWS DEB_CONFIGURE_EXTRA_FLAGS := --bindir=/usr/games \ --datadir=/usr/share/games \ --localstatedir=/var/games \ --disable-check binary-install/crossfire-server:: chown games:games debian/crossfire-server/var/log/crossfire \ debian/crossfire-server/var/games/crossfire \ debian/crossfire-server/var/games/crossfire/account \ debian/crossfire-server/var/games/crossfire/datafiles \ debian/crossfire-server/var/games/crossfire/players \ debian/crossfire-server/var/games/crossfire/temp.maps \ debian/crossfire-server/var/games/crossfire/unique-items binary-fixup/crossfire-server:: find debian/crossfire-server/usr/lib/crossfire/ -name "*.la" -exec rm "{}" ";" debian/crossfire-server.install0000644000000000000000000000024611405512470014062 0ustar debian/tmp/usr/games/crossfire-server usr/sbin/ debian/tmp/usr/games/crossfire-config usr/games/ debian/tmp/usr/lib usr/ debian/tmp/etc/crossfire/* etc/crossfire/ debian/patches/0000755000000000000000000000000011727436126010626 5ustar debian/patches/autoconf-fixes-6636120000644000000000000000000000277011727436126014256 0ustar Index: crossfire-1.60.0/configure.ac =================================================================== --- crossfire-1.60.0.orig/configure.ac 2011-01-30 07:04:05.000000000 +0200 +++ crossfire-1.60.0/configure.ac 2012-03-12 20:05:21.068986083 +0200 @@ -95,7 +95,6 @@ AC_CHECK_LIB(z, compress) AC_CHECK_LIB(pthread, pthread_create) -LIBCURL_CHECK_CONFIG() # For utils/mapper cf_make_mapper=no Index: crossfire-1.60.0/random_maps/Makefile.am =================================================================== --- crossfire-1.60.0.orig/random_maps/Makefile.am 2011-01-30 06:59:29.000000000 +0200 +++ crossfire-1.60.0/random_maps/Makefile.am 2012-03-12 20:07:12.108984937 +0200 @@ -24,7 +24,7 @@ # The author can be reached via e-mail to mark@pyramid.com -pkglib_PROGRAMS = random_map +pkglibexec_PROGRAMS = random_map random_map_SOURCES = standalone.c Index: crossfire-1.60.0/utils/Makefile.am =================================================================== --- crossfire-1.60.0.orig/utils/Makefile.am 2011-01-30 06:59:31.000000000 +0200 +++ crossfire-1.60.0/utils/Makefile.am 2012-03-12 20:11:31.208982221 +0200 @@ -1,7 +1,7 @@ nodist_bin_SCRIPTS = crossloop.pl crossloop player_dl.pl dist_bin_SCRIPTS = crossloop.web -nodist_pkglib_SCRIPTS = -dist_pkglib_SCRIPTS = mktable.script add_throw.perl metaserver.pl +nodist_pkglibexec_SCRIPTS = +dist_pkglibexec_SCRIPTS = mktable.script add_throw.perl metaserver.pl dist_noinst_SCRIPTS = ad2c.script mktable.script player_dl.html cfmeta-rrd EXTRA_DIST = debian/patches/crossfire-config-man-name0000644000000000000000000000101511404511067015465 0ustar Index: crossfire-1.11.0/doc/crossfire-config.man =================================================================== --- crossfire-1.11.0.orig/doc/crossfire-config.man 2008-02-04 06:05:28.000000000 +0200 +++ crossfire-1.11.0/doc/crossfire-config.man 2008-02-04 06:06:37.000000000 +0200 @@ -1,7 +1,7 @@ .TH crossfire-config 6 "Feb 04 2004" "" "CrossFire Game Server Manual" .SH NAME -crossfire-config +crossfire-config \- give information to plugin about crossfire server .SH SYNOPSIS usage: crossfire-config --Dflags debian/patches/series0000644000000000000000000000003211740606775012042 0ustar crossfire-config-man-name debian/crossfire-server.postrm0000644000000000000000000000135311404511067013740 0ustar #! /bin/sh -e case "$1" in failed-upgrade|abort-upgrade) # do nothing ;; abort-install) # do nothing ;; purge) ##purge game files if [ -d /var/games/crossfire/ ] ; then if [ "`ls /var/games/crossfire/ | wc -l`" -gt 0 ] ; then echo "purging /var/games/crossfire/ and its contents" rm -rf /var/games/crossfire/ ||true fi fi ##purge logfiles if [ -d /var/log/crossfire/ ] ; then if [ "`ls /var/log/crossfire/ | wc -l`" -gt 0 ] ; then echo "purging /var/games/crossfire/ and its contents" rm -rf /var/log/crossfire/ ||true fi fi ;; remove|upgrade|disappear) # do nothing ;; *) echo "$0: incorrect arguments: $*" >&2 exit 1 ;; esac ##DEBHELPER## debian/crossfire-server.dirs0000644000000000000000000000033411740614054013356 0ustar usr/games/ var/games/crossfire/ var/games/crossfire/account/ var/games/crossfire/datafiles/ var/games/crossfire/players/ var/games/crossfire/unique-items/ var/games/crossfire/temp.maps/ var/log/crossfire/ etc/crossfire/ debian/crossfire-server.manpages0000644000000000000000000000014311405512456014207 0ustar debian/tmp/usr/share/man/man6/crossfire-server.6 debian/tmp/usr/share/man/man6/crossfire-config.6 debian/README.Debian0000644000000000000000000000056511740625614011243 0ustar A note about Crossfire's characters and accounts: if the server gets restarted, it may lose track of which characters belong to which account. If this happens, choose "add character" from the character menu and use the account password on a character that has previously been created under your account. -- Kari Pahula , Mon, 9 Apr 2012 21:33:48 +0300 debian/control0000644000000000000000000000304511740630067010577 0ustar Source: crossfire Section: games Priority: optional Maintainer: Kari Pahula Standards-Version: 3.9.3 Build-Depends: debhelper (>= 7), cdbs, flex, python-all-dev, libsqlite3-dev, dh-autoreconf, bzip2 Homepage: http://crossfire.real-time.com/ Package: crossfire-server Architecture: any Depends: bzip2, crossfire-maps, crossfire-common (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Server for Crossfire Games This is the server program for the crossfire client . Crossfire is a multiplayer graphical arcade and adventure game made for the X environment. It has certain flavours from other games, especially Gauntlet (TM) and Nethack/Moria. Any number of players can move around in their own window, finding and using items and battle monsters. They can choose to cooperate or compete in the same "world". Package: crossfire-common Architecture: all Depends: ${misc:Depends} Description: Architecture independent common files for Crossfire server Crossfire is a multiplayer graphical arcade and adventure game made for the X environment. It has certain flavors from other games, especially Gauntlet (TM) and Nethack/Moria. Any number of players can move around in their own window, finding and using items and battle monsters. They can choose to cooperate or compete in the same "world". Package: crossfire-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Documentation for Crossfire This is the document package for crossfire. It has information for both the server and the client. debian/clean0000644000000000000000000000004411740614245010175 0ustar utils/config.guess utils/config.sub debian/dirs0000644000000000000000000000006511404511067010052 0ustar usr/share/doc/crossfire/examples var/games/crossfire debian/changelog0000644000000000000000000002476011740630073011052 0ustar crossfire (1.70.0-1) unstable; urgency=low * New upstream release (Closes: #663612) * Standards-Version 3.9.3 (no changes necessary). * Use dh-autoreconf. * Create /var/games/crossfire/account directory. (Closes: #602706) -- Kari Pahula Mon, 09 Apr 2012 21:53:46 +0300 crossfire (1.60.0-2) unstable; urgency=low * Added 1.50.0-1.1's changelog entry to debian/changelog. -- Kari Pahula Tue, 09 Aug 2011 13:54:24 +0300 crossfire (1.60.0-1) unstable; urgency=low * New upstream release * Standards-Version 3.9.2 (no changes necessary). * Build dependency on python-all-dev. -- Kari Pahula Tue, 09 Aug 2011 12:44:25 +0300 crossfire (1.50.0-1.1) unstable; urgency=low * Non-maintainer upload. * Don't ship .la files (Closes: #621201). -- Luk Claes Sat, 11 Jun 2011 22:55:06 +0200 crossfire (1.50.0-1) unstable; urgency=low * New upstream release + crossedit removed by upstream * Source format 3.0 (quilt). * Standards-Version 3.8.4, debhelper compat 7 * Use automake as build dep and recreate all Makefile.in files and the configure file at build time. * Use killall -q ... || true in logrotate (Closes: #475652) * Explicitly use python2.6-dev as build dep. * Build dep and depend on bzip2. -- Kari Pahula Wed, 16 Jun 2010 20:12:28 +0300 crossfire (1.11.0-2) unstable; urgency=low * Added missing build-dep libtool (Closes: #464272) -- Kari Pahula Wed, 06 Feb 2008 11:17:02 +0200 crossfire (1.11.0-1) unstable; urgency=low * New upstream release * Use policy version 3.7.3 and debhelper compat level 6. * Removed patches daemon_open_once and sighup_log_reopen since they've been included in the upstream source. * Removed linda-overrides. * Added a brief description to crossfire-config's man page's NAME section. -- Kari Pahula Mon, 04 Feb 2008 06:07:53 +0200 crossfire (1.10.0-2) unstable; urgency=low * Patched SIGHUP handler to reopen log file (Closes: #232421) * Added a logrotate file. * Patched become_daemon() to not open the log file for a second time. * The -detach option was hacked in 1.9.1-3 to not really daemonize the process as that seemed to cause problems with the plugin system and s-s-d's --background option was used instead. That issue seems to be solved now and -detach is used again now. -- Kari Pahula Sun, 6 May 2007 00:29:33 +0300 crossfire (1.10.0-1) unstable; urgency=low * New upstream release * Removed code from crossfire-server's postinst that cleaned up the permission scheme used in versions prior to 1.8.0-2 * Added code to crossfire-server's postinst to add an initial clockdata file -- Kari Pahula Fri, 13 Apr 2007 23:24:27 +0300 crossfire (1.9.1-4) unstable; urgency=low * Fixed FTBFS by removing config.log in debian/rules clean (Closes: #379369) * Moved the /etc files from crossfire-common back to crossfire-server. (Closes: #338069) * Install crossfire-config to crossfire-server. -- Kari Pahula Sun, 23 Jul 2006 14:40:56 +0300 crossfire (1.9.1-3) unstable; urgency=low * Made the plugin system work. (Closes: #379348) * Removed the useless file /usr/share/doc/crossfire-server/NEWS.gz -- Kari Pahula Sun, 23 Jul 2006 03:27:53 +0300 crossfire (1.9.1-2) unstable; urgency=low * Added missing build-dependency: quilt -- Kari Pahula Thu, 6 Jul 2006 16:27:00 +0300 crossfire (1.9.1-1) unstable; urgency=low * New upstream release -- Kari Pahula Thu, 6 Jul 2006 02:27:38 +0300 crossfire (1.9.0-2) unstable; urgency=high * Patch socket/request to fix CVE-2006-1236: Arbitrary code execution in crossfire -- Kari Pahula Thu, 16 Mar 2006 11:48:35 +0200 crossfire (1.9.0-1) unstable; urgency=low * New upstream release * mv /usr/games/crossfire /usr/sbin/crossfire * Build-dep on libxaw7-dev, not libxaw8-dev -- Kari Pahula Tue, 7 Mar 2006 18:21:16 +0200 crossfire (1.8.0-2) unstable; urgency=low * Removed unneeded build-deps xlibs-dev and xutils. * crossfire-server: recommends: python * crossfire-common: arch: all * Removed the sticky bit from crossfire's /var dirs and executables, made them writable by gid games, run crossfire server as games:games from init.d script. It's a saner way to fix #284892. -- Kari Pahula Sun, 18 Dec 2005 20:46:52 +0200 crossfire (1.8.0-1) unstable; urgency=low * New upstream release (closes: #286051, #232336, #297563) * Disabled watchdog. * Split common files of crossfire-edit and crossfire-server from crossfire-server to crossfire-common. (closes: #202379) * Put crossedit to /usr/games/, not /usr/sbin/. * Remove the debconf questions. Those asked about upgrading from versions dating back to potato. We don't need to support that anymore. (closes: #276808, 306114) * Made crossfire-server and crossfire-edit sgid games and /var/log/crossfire and /var/games/crossfire to belong to group games. (closes: #284892) -- Kari Pahula Fri, 19 Aug 2005 21:19:52 +0300 crossfire (1.6.0.dfsg.1-4) unstable; urgency=low * New maintainer, sponsored upload * Repackaged orig.tar.gz, removed non-free file lib/adm/map_check (closes: #311439) -- Jaakko Niemi Wed, 1 Jun 2005 19:07:21 +0300 crossfire (1.6.0-3) unstable; urgency=low * Rerun libtoolize & friends (closes: #276510) -- Jaakko Niemi Thu, 14 Oct 2004 21:03:57 +0300 crossfire (1.6.0-2) unstable; urgency=low * fix executable localtions that broke when cdbs was taken into use. (thanks, simonrvn) * Update German debconf translation (closes: #274029) * Update French debconf translation (closes: #207120) -- Jaakko Niemi Sun, 10 Oct 2004 23:59:05 +0300 crossfire (1.6.0-1) unstable; urgency=low * New upstream release * Redid packaging with cdbs * Refactored {post,pre}inst not to require debconf (closes: #263351) * Started using po-debconf to manage translations -- Jaakko Niemi Sun, 8 Aug 2004 13:53:04 +0300 crossfire (1.4.0-4) unstable; urgency=low * update utils/config.{sub,guess} too. God dagnabit, do we really need these.. -- Jaakko Niemi Mon, 18 Nov 2002 23:43:08 +0200 crossfire (1.4.0-3) unstable; urgency=low * fix #167844 for real. * update config.{sub,guess} (closes: #168524) -- Jaakko Niemi Mon, 11 Nov 2002 19:24:51 +0200 crossfire (1.4.0-2) unstable; urgency=low * install configuration files to /etc/crossfire (closes: 167844) -- Jaakko Niemi Tue, 5 Nov 2002 20:13:57 +0200 crossfire (1.4.0-1) unstable; urgency=low * New upstream release -- Jaakko Niemi Sat, 26 Oct 2002 22:19:50 +0300 crossfire (1.3.0-1) unstable; urgency=low * New upstream version -- Jaakko Niemi Thu, 15 Aug 2002 23:23:27 +0300 crossfire (1.1.0-1) unstable; urgency=low * New upstream version * Added russian debconf template (closes: #137628) Thanks, Ilgiz Kalmetev -- Jaakko Niemi Wed, 17 Apr 2002 22:23:17 +0300 crossfire (1.0.0-2) unstable; urgency=low * updated config.{sub,guess} * fixed postinst to deal with old logfile permissions * fixed localstatedir path in debian/rules -- Jaakko Niemi Sat, 23 Feb 2002 21:36:07 +0200 crossfire (1.0.0-1) unstable; urgency=low * New maintainer * new upstream version (closes: 104179) * server/init.c, don't nuke umask (closes: #57744) * segfaults when creating character fixed in new upstream (closes: #123430, #103575) * moved to use /var/games (closes: #115848, #110220) * no more annoying messages in new version (closes: #129010) * cut the long line in crossfire-doc description (closes: #130983) * Added build-deps. We don't care about potato anymore (closes: #70320) * init script now waits till server has stopped (closes: #87625) * more documentation added into -doc -- Jaakko Niemi Mon, 11 Feb 2002 01:38:29 +0200 crossfire (0.96.0-1) unstable; urgency=low * New upstream version -- Darren Benham Fri, 23 Feb 2001 19:59:45 -0700 crossfire (0.95.5-2) unstable; urgency=low * This version is internal only. It is used to generate patches for upstream. -- Darren Benham Tue, 3 Aug 1999 22:08:45 -0700 crossfire (0.95.5-1) unstable; urgency=low * New upstream version * Run under user nobody group games (closes: #61420) * Changed the "tmp" directory (closes: #54166) * Removed chown/chgrp from postinst (closes: #41747) -- Darren Benham Tue, 3 Aug 1999 22:08:45 -0700 crossfire (0.95.4-2) unstable; urgency=low * Changed default logfile position to /var/log/crossfire.log * Setup update-rc.d to actually allow script to start -- Darren Benham Tue, 3 Aug 1999 22:08:45 -0700 crossfire (0.95.4-1) unstable; urgency=low * New upstream version * Added an init.d script to autostart server -- Darren Benham Tue, 3 Aug 1999 22:08:45 -0700 crossfire (0.95.3-2) unstable; urgency=high * Moved /usr/share/crossfire to /usr/share/games/crossfire * Changed suid to sgid which is proper for policy -- Darren Benham Wed, 23 Jun 1999 18:38:47 -0800 crossfire (0.95.3-1) unstable; urgency=low * New upstream version + Biggest change for Debianers: the /var/lib directory was split to be more FHS compliant and I took advantage of that. Maps and artifacts and archtypes and all such files are now looked for in /usr/share/crossfire/*. Players, highscores, temp maps and "unique item saves" are all that are stored in /var/lib/* now. * I am running a server at benham.net.. It's pretty much straight out of the deb and I use it to test my deb. It might, therefore, not be 100% reliable but it's a place to play. -- Darren Benham Tue, 20 Apr 1999 22:38:47 -0700 crossfire (0.95.2-1) unstable; urgency=low * New upstream version -- Darren Benham Sun, 21 Mar 1999 23:06:44 -0800 crossfire (0.95.0-2) frozen; urgency=low * Removed overlap with crossfire-maps (closes #28010) -- Darren Benham Fri, 16 Oct 1998 12:02:31 -0700 crossfire (0.95.0-1) unstable; urgency=low * Initial Release. -- Darren Benham Sun, 11 Oct 1998 18:12:42 -0700 debian/copyright0000644000000000000000000000164111620042335011117 0ustar This package was debianized by Darren Benham gecko@debian.org on Sun, 11 Oct 1998 18:12:42 -0700. Jaakko Niemi (liiwi@debian.org) later on reworked packaging. Upstream Authors: see /usr/share/doc/crossfire-*/AUTHORS Copyright (C) 1998, 2000-2003, 2005-2011 Mark Wedel Copyright (C) 2001-2003, 2005-2011 Crossfire Development Team Copyright (C) 2006-2007 Dan Pascu Copyright (C) 2001-2005 Chachkoff Yann Copyright (C) 2003 by Philip Stolarczyk Copyright (C) 1992 Frank Tore Johansen The authors can be reached via e-mail to crossfire-devel@real-time.com It was downloaded from http://crossfire.real-time.com/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The full text of the GPL is available at /usr/share/common-licenses/GPL-2 debian/crossfire-common.install0000644000000000000000000000010211405262603014033 0ustar debian/tmp/usr/share/games/crossfire/* usr/share/games/crossfire/ debian/crossfire-server.docs0000644000000000000000000000003711404511067013342 0ustar AUTHORS README TODO DEVELOPERS debian/init.d0000644000000000000000000000211211405513665010300 0ustar #! /bin/sh # ### BEGIN INIT INFO # Provides: crossfire.real-time.com # Required-Start: $local_fs $network $remote_fs # Required-Stop: $local_fs $network $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: multiplayer RPG # Description: Networked graphical RPG/adventure game ### END INIT INFO PATH=/bin:/usr/bin:/sbin:/usr/sbin DAEMON=/usr/sbin/crossfire-server DAEMON_OPTS="-detach -log /var/log/crossfire/logfile" test -f $DAEMON || exit 0 # Include crossfire defaults if available if [ -f /etc/default/crossfire ] ; then . /etc/default/crossfire fi umask 002 case "$1" in restart|force-reload) start-stop-daemon --stop --retry 5 --verbose --exec $DAEMON start-stop-daemon --start --chuid games:games --verbose --exec $DAEMON -- $DAEMON_OPTS ;; start) start-stop-daemon --start --chuid games:games --verbose --exec $DAEMON -- $DAEMON_OPTS ;; stop) start-stop-daemon --stop --retry 5 --verbose --exec $DAEMON ;; *) echo "Usage: /etc/init.d/crossfire-server {start|stop|restart|force-reload}" exit 1 ;; esac exit 0