debian/0000755000000000000000000000000012143670516007173 5ustar debian/openarena.60000644000000000000000000000435512143670275011243 0ustar .TH OPENARENA 6 2010-10-15 .SH NAME openarena \- OpenArena client .SH SYNOPSIS .BR openarena .BR "" [ \-h | \-\-help ] .BR "" [ \-q | \-\-quiet ] .BR "" [ +set .IR option " " value ]... .SH DESCRIPTION .B openarena is the client for the first-person shooter OpenArena. .SH OPTIONS The wrapper script used for OpenArena in Debian accepts these options: .TP \fB\-h\fR, \fB\-\-help\fR Display a short help summary .TP \fB\-q\fR, \fB\-\-quiet\fR Disable all output .PP Any console command can also be prefixed with \fB+\fR and used as a command-line option (press Shift+Esc to access the in-game console), including: .TP \fB+set\fR \fIoption\fR \fIvalue\fR Set an option (see below for some options) .TP \fB+connect\fR \fIserver\fR[\fB:\fIport\fR] Connect to a server .PP Options that can be set with \fB+set\fR (note that this is not a full list!) include: .TP \fBr_fullscreen\fR 1: Play in fullscreen mode; 0: Play in window mode .TP \fBr_mode\fR Sets the screen resolution mode. Set num to \-1 to use a customized resolution. See also r_customheight and r_customwidth! .TP \fBr_customwidth\fR Use \fUpixels\fR as width if r_mode is set to \-1. .TP \fBr_customheight\fR Use \fUpixels\fR as height if r_mode is set to \-1. .SH FILES .TP \fI~/.openarena/baseoa\fR Configuration and state for OpenArena .TP \fI~/.openarena/missionpack\fR Configuration and state for the "missionpack" mod .SH ENVIRONMENT The wrapper script used to launch OpenArena allows it to be debugged by setting environment variables. .TP \fBOPENARENA_DEBUGGER=\fIcommand\fR A debugger or other prefix to prepend to the OpenArena command line, such as \fBstrace\fR; overridden by \fBOPENARENA_BACKTRACE\fR .TP \fBOPENARENA_BACKTRACE=1\fR Use \fBgdb\fR(1) to get a backtrace if OpenArena crashes (the \fBgdb\fR package must be installed for this to work) .SH SEE ALSO .BR openarena-server (6), .BR ioquake3 (6), /usr/share/doc/openarena .SH AUTHOR OpenArena was written by the OpenArena Team. The engine used is a modified ioQuake3, originally created by id Software and now maintained by the ioQuake3 community. .PP This manual page was written by Bruno "Fuddl" Kleinert and Simon McVittie , for the Debian project (but may be used by others). debian/server.cfg0000644000000000000000000000106312143670275011164 0ustar // Sample server configuration for OpenArena in Debian // set dedicated to 2 (default is 1) to advertise your server in the global // server list //set dedicated 2 // name of your server //sv_hostname "An anonymous Debian server" // Type of game to run // 0 = free-for-all deathmatch // 1 = tournament 1-on-1 // 3 = team deathmatch // 4 = CTF // 5 = 1-flag CTF // 6 = obelisk // 7 = harvester // 8 = team elimination // 9 = CTF elimination // 10 = last man standing // 11 = double domination // 12 = domination g_gametype 0 // Start this map first map oa_dm1 debian/openarena-dbg.preinst0000644000000000000000000000035512143670275013310 0ustar #!/bin/sh set -e # In older openarena-dbg this was a symlink to openarena-server; dpkg won't # replace existing symlinks with directories if [ -h /usr/share/doc/openarena-dbg ] then rm -f /usr/share/doc/openarena-dbg fi #DEBHELPER# debian/rules0000755000000000000000000001016112143670275010254 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 include /usr/share/dpkg/default.mk Q3ARCH := $(shell /usr/share/ioquake3/q3arch arch HOST) Q3PLATFORM := $(shell /usr/share/ioquake3/q3arch platform HOST) Q3COMPILE_ARCH := $(shell /usr/share/ioquake3/q3arch arch BUILD) Q3COMPILE_PLATFORM := $(shell /usr/share/ioquake3/q3arch platform BUILD) distro := $(shell lsb_release -is) # the Q3 engine's build system doesn't respect CPPFLAGS, so put them in CFLAGS CFLAGS += $(CPPFLAGS) -fsigned-char GAME_OPTIONS = \ V=1 \ BUILD_STANDALONE=1 \ USE_CODEC_VORBIS=1 \ USE_CURL=1 \ USE_CURL_DLOPEN=0 \ USE_OPENAL=1 \ USE_OPENAL_DLOPEN=0 \ USE_VOIP=1 \ USE_INTERNAL_SPEEX=0 \ USE_INTERNAL_ZLIB=0 \ USE_LOCAL_HEADERS=0 \ ARCH=$(Q3ARCH) \ PLATFORM=$(Q3PLATFORM) \ COMPILE_ARCH=$(Q3COMPILE_ARCH) \ COMPILE_PLATFORM=$(Q3COMPILE_PLATFORM) \ SDL_CFLAGS= \ BUILD_CLIENT=0 \ BUILD_SERVER=0 \ BUILD_GAME_SO=1 \ CROSS_COMPILING=1 \ VERSION=$(DEB_VERSION)/$(distro) \ $(NULL) TARGET = release ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) # near enough TARGET = debug # use the release build directory even for a debug build, it makes building # the package easier GAME_OPTIONS += 'BD=$$(BR)' endif GAME_081_OPTIONS = \ $(GAME_OPTIONS) \ BUILD_DIR=build-0.8.1-compat \ OPENARENA_081_COMPATIBLE=1 %: dh $@ --parallel override_dh_auto_build: dh_auto_build -- $(GAME_OPTIONS) $(TARGET) dh_auto_build -- $(GAME_081_OPTIONS) $(TARGET) sed \ -e 's!@IOQ3BINARY@!ioquake3!' \ -e 's!@IOQ3SELF@!openarena!' \ -e 's!@IOQ3ROLE@!client!' \ -e 's!@FS_BASEPATH@!/usr/lib/openarena!' \ < debian/scripts/openarena.in > debian/scripts/openarena sed \ -e 's!@IOQ3BINARY@!ioq3ded!' \ -e 's!@IOQ3SELF@!openarena-server!' \ -e 's!@IOQ3ROLE@!server!' \ -e 's!@FS_BASEPATH@!/usr/lib/openarena-server!' \ < debian/scripts/openarena.in > debian/scripts/openarena-server chmod +x debian/scripts/openarena chmod +x debian/scripts/openarena-server override_dh_clean: dh_clean --exclude README-0.8.8~ override_dh_auto_clean: rm -f build-stamp rm -rf build rm -rf build-0.8.1-compat rm -f debian/openarena32.xpm rm -f debian/scripts/openarena rm -f debian/scripts/openarena-server override_dh_auto_install: install -d debian/tmp/usr/games install -d debian/tmp/usr/lib/openarena/baseoa/pak0/ install -d debian/tmp/usr/lib/openarena/missionpack/ install -d debian/tmp/usr/lib/openarena-server/baseoa/pak0/ install -d debian/tmp/usr/lib/openarena-server/missionpack/ install -m644 build/release-$(Q3PLATFORM)-$(Q3ARCH)/baseq3/*.so \ debian/tmp/usr/lib/openarena/baseoa/ install -m644 build-0.8.1-compat/release-$(Q3PLATFORM)-$(Q3ARCH)/baseq3/*.so \ debian/tmp/usr/lib/openarena/baseoa/pak0/ install -m644 build/release-$(Q3PLATFORM)-$(Q3ARCH)/missionpack/*.so\ debian/tmp/usr/lib/openarena/missionpack/ install -m644 build/release-$(Q3PLATFORM)-$(Q3ARCH)/baseq3/*.so \ debian/tmp/usr/lib/openarena-server/baseoa/ install -m644 build-0.8.1-compat/release-$(Q3PLATFORM)-$(Q3ARCH)/baseq3/*.so \ debian/tmp/usr/lib/openarena-server/baseoa/pak0/ install -m644 build/release-$(Q3PLATFORM)-$(Q3ARCH)/missionpack/*.so\ debian/tmp/usr/lib/openarena-server/missionpack/ convert -scale 32x32 debian/openarena128.png debian/openarena32.xpm sh debian/link-modules.sh $(Q3ARCH) override_dh_strip: dh_strip --dbg-package=openarena-dbg .PHONY: get-orig-source get-orig-source: test ! -e get-orig-source mkdir get-orig-source if test -e ../oa-0.8.8.tar.bz2; then \ cp ../oa-0.8.8.tar.bz2 get-orig-source/; \ else \ wget -O get-orig-source/oa-0.8.8.tar.bz2 \ http://files.poulsander.com/~poul19/public_files/oa/dev088/oa-0.8.8.tar.bz2; \ fi test "`sha256sum -b get-orig-source/oa-0.8.8.tar.bz2`" = \ "47fed4ea740278aa970538fc15819a4f6b8631eda380431ba09eb1b31ecbe5ad *get-orig-source/oa-0.8.8.tar.bz2" tar -xvj -C get-orig-source -f get-orig-source/oa-0.8.8.tar.bz2 rm -rf get-orig-source/oa-0.8.8/tools/lcc rm -rf get-orig-source/oa-0.8.8/windows_scripts/*.exe mv get-orig-source/oa-0.8.8 get-orig-source/openarena_0.8.8.orig tar -zcvf openarena_0.8.8.orig.tar.gz \ -C get-orig-source openarena_0.8.8.orig rm -rf get-orig-source debian/openarena-server.init0000644000000000000000000000537212143670275013345 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: openarena-server # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start OpenArena game server # Description: Dedicated server for OpenArena, a fast-paced 3D # first-person shooter game similar to Quake III Arena ### END INIT INFO PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" NAME="openarena-server" DAEMON="/usr/games/$NAME" DESC="OpenArena dedicated server" PIDFILE="/var/run/$NAME.pid" BINARY="/usr/lib/ioquake3/ioq3ded" USER="Debian-openarena" test -x $DAEMON || exit 0 . /lib/lsb/init-functions # Include defaults if available if [ -f /etc/default/$NAME ] ; then . /etc/default/$NAME fi q3_start() { if [ "$START_DAEMON" = "unless-disabled-by-upgrade" ]; then if [ -e /var/games/openarena-server/init-script-disabled-by-upgrade ]; then echo -n " (disabled during upgrade, not starting - see /usr/share/doc/openarena-server/NEWS.Debian.gz)" return 0 fi elif [ "$START_DAEMON" != 1 ]; then echo -n " (disabled in /etc/default/openarena-server - deprecated, see /usr/share/doc/openarena-server/README.Debian.gz)" return 0 fi start-stop-daemon --start --quiet --pidfile $PIDFILE --oknodo \ --background --exec $BINARY --startas $DAEMON \ --make-pidfile --chuid $USER \ -- $DAEMON_OPTS > /dev/null 2>&1 || return 1 return 0 } q3_stop() { start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --oknodo --exec $BINARY || return 1 rm -f $PIDFILE return 0 } case "$1" in start) log_begin_msg "Starting $DESC: $NAME" q3_start log_end_msg $? ;; stop) log_begin_msg "Stopping $DESC: $NAME" q3_stop log_end_msg $? ;; #reload) # # If the daemon can reload its config files on the fly # for example by sending it SIGHUP, do it here. # # If the daemon responds to changes in its config file # directly anyway, make this a do-nothing entry. # # echo "Reloading $DESC configuration files." # start-stop-daemon --stop --signal 1 --quiet --pidfile \ # /var/run/$NAME.pid --exec $DAEMON #;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # log_begin_msg "Restarting $DESC: $NAME" q3_stop && sleep 1 && q3_start log_end_msg $? ;; status) status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $? ;; *) # echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/openarena.manpages0000644000000000000000000000002312143670275012655 0ustar debian/openarena.6 debian/control0000644000000000000000000000565712143670275010615 0ustar Source: openarena Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Bruno "Fuddl" Kleinert , Gonéri Le Bouder , Simon McVittie Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1), imagemagick, ioquake3-server (>= 1.36+svn1802-1~), lsb-release Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-games/openarena.git Vcs-Browser: http://git.debian.org/?p=pkg-games/openarena.git;a=summary Homepage: http://openarena.ws/ Package: openarena Architecture: linux-any kfreebsd-any hurd-any Depends: ${misc:Depends}, ${shlibs:Depends}, ioquake3 (>= 1.36+svn2224-3~), openarena-081-maps, openarena-081-misc, openarena-081-players, openarena-081-players-mature, openarena-081-textures, openarena-085-data, openarena-088-data, openarena-data (>= 0.8.5-3~), openarena-data (<< 0.8.6~) Description: fast-paced 3D first-person shooter OpenArena is an open-source content package for ioQuake3 licensed under the GPL, effectively creating a free stand-alone game. Though OpenArena is a free replacement for id Software Inc.'s Quake 3 Arena, it is NOT compatible with the proprietary game! . OpenArena might be considered unsuitable for children. . This package installs the OpenArena client. Package: openarena-server Architecture: linux-any kfreebsd-any hurd-any Depends: ${misc:Depends}, ${shlibs:Depends}, adduser, ioquake3-server (>= 1.36+svn2224-3~), openarena-081-maps, openarena-081-misc, openarena-081-players, openarena-081-players-mature, openarena-081-textures, openarena-085-data, openarena-088-data, openarena-data (>= 0.8.5), openarena-data (<< 0.8.6~) Description: server and game logic for the game OpenArena OpenArena is an open-source content package for ioQuake3 licensed under the GPL, effectively creating a free stand-alone game. Though OpenArena is a free replacement for id Software Inc.'s Quake 3 Arena, it is NOT compatible with the proprietary game! . This package installs the OpenArena dedicated server and its init script. Package: openarena-dbg Section: debug Priority: extra Architecture: linux-any kfreebsd-any hurd-any Depends: openarena (= ${binary:Version}) | openarena-server (= ${binary:Version}), ${misc:Depends} Recommends: ioquake3-dbg Description: debug symbols for OpenArena's game logic OpenArena is an open-source content package for ioQuake3 licensed under the GPL, effectively creating a free stand-alone game. Though OpenArena is a free replacement for id Software Inc.'s Quake 3 Arena, it is NOT compatible with the proprietary game! . This package contains debug symbols which can be used to debug crashes in OpenArena's game logic. debian/openarena-server.NEWS0000644000000000000000000000200212143670275013141 0ustar openarena-server (0.8.8-1) experimental; urgency=low In the Debian packaging for OpenArena 0.8.1 and 0.8.5, the openarena package depended on the openarena-server package, and the openarena-server package did not run a server by default. Since OpenArena 0.8.8, the openarena package no longer depends on openarena-server. New installations of openarena-server will run a server from the init script by default. The upgrade from 0.8.5 to 0.8.8 attempts to detect whether the server was enabled. If it was not, it creates a file "/var/games/openarena-server/init-script-disabled-by-upgrade"; if that file exists, the init script does not start the server. You can restore normal behaviour by deleting it. This special upgrade behaviour is likely to be removed after Debian 7 is released, so if you do not intend to run an OpenArena dedicated server, please remove the openarena-server package before upgrading to Debian 8. -- Simon McVittie Sun, 26 Feb 2012 20:16:04 +0000 debian/openarena.links0000644000000000000000000000230012143670275012202 0ustar usr/share/doc/openarena-data/changelog.gz usr/share/doc/openarena/changelog.gz usr/share/doc/openarena-088-data/CREDITS-0.8.8 usr/share/doc/openarena/CREDITS usr/share/doc/openarena-data/LINUXNOTES usr/share/doc/openarena/LINUXNOTES usr/share/doc/openarena-088-data/readme_088.txt usr/share/doc/openarena/README usr/share/games/openarena/baseoa/pak0.pk3 usr/lib/openarena/baseoa/pak0.pk3 usr/share/games/openarena/baseoa/pak1-maps.pk3 usr/lib/openarena/baseoa/pak1-maps.pk3 usr/share/games/openarena/baseoa/pak2-players.pk3 usr/lib/openarena/baseoa/pak2-players.pk3 usr/share/games/openarena/baseoa/pak2-players-mature.pk3 usr/lib/openarena/baseoa/pak2-players-mature.pk3 usr/share/games/openarena/baseoa/pak4-textures.pk3 usr/lib/openarena/baseoa/pak4-textures.pk3 usr/share/games/openarena/baseoa/pak5-TA.pk3 usr/lib/openarena/baseoa/pak5-TA.pk3 usr/share/games/openarena/baseoa/pak6-misc.pk3 usr/lib/openarena/baseoa/pak6-misc.pk3 usr/share/games/openarena/baseoa/pak6-patch085.pk3 usr/lib/openarena/baseoa/pak6-patch085.pk3 usr/share/games/openarena/baseoa/pak6-patch088.pk3 usr/lib/openarena/baseoa/pak6-patch088.pk3 usr/share/games/openarena/missionpack/mp-pak0.pk3 usr/lib/openarena/missionpack/mp-pak0.pk3 debian/openarena128.png0000644000000000000000000004400012143670275012104 0ustar PNG  IHDR>atIME  628 pHYs  ~GIDATx[ 啾_{7@7Bɢ((ȎѨ8Hlj'ÌgLk虨qDdbtbŅf&44[UzH\vzU^}/|;η|;η|;߾] |\B‘#]PZ:67'gJ5Lu!L8m#Ǿ5Hp\.Bp8\[}Ⱦ}eʦZ<4:Н"7JNvv.9~Ə{Qa~pܟ:P/.}5W'n8,O>q?XA.7nyk*w]‘H@v7)&_6mڂK^]z=ڞU_lݱ{-L㬵RSRr̞}wvP<ǽ'e/ptJa2`ɂPX. ,>) y/PvMqo⎹J !⇎l c,e_iݲ;iii.tv㶲+ Q6&,@8T@C r@9 .5 ;4\xBd"~_Z>2qz-x-w^g etۭ͟3&FiY0BH-u4x30NAgTh @E8},>#4kz.kN(!=BhކcO<_xG_k7-~K7w$ +_LLk3Dj5E"!f-ǡ(OBOw,ZEM@!gdYq{K'<Ӻz[;Z1P;QAF2d2ς^uḲKƊL92Wza?YrRr~4,U-/htUE muahmEm\$Cg =1()-Ma`)oD|πM$ 2EFa4_`e pB Ghd!BpLAYE찁$ #G {H2L3n#Q)p'K4ڃ}ŘOc š_ChKnRy 42&nBK|[?ۅ"2ZDbѫjg8mFcmUmuDw3KQL ! 8?q5z<@f Q(F:5Lxko $ HJJ?pey\95t`_tjkdnP)` Ѕٶ nѩgO-*bIr\)~/3';(7/gXNvC ˆ <&++k(K2%. iFdϤS"XTy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Wk!~HW \W;r²%1cEYA8 XΟ;.Ꮊ ^d'Nh]Cae@4hs!:sA]+V^iӦn qC:`XW[ Ӗ'K,t-#2ѳ Dvvy=%awvh%<~L~󑘵Bnu"77weS]Sg۠X3x:%Ʒc-rnmk{G-z=. c,,=fսc{o;[a?A{-^~ekPcsѸUs>QZVQvw7- qݜܦH(#"0Q^z:QKt PLPaZ:迡QHy~ 5wNRJ{m%b?rq+El5+zwMj)1NkhNt>d}olC $|dJoB{|uyƪ^ZpwC^%qU»ة5c6ܒs]rˤyF\||ɯiQdϷEȝM+J!C#EQm&@N^]9& 8d>6:D!7^7%c5 +V\tR=V4+rfBys,7/[Zo=e;q5|IENDB`debian/source/0000755000000000000000000000000012143670275010475 5ustar debian/source/include-binaries0000644000000000000000000000003012143670275013626 0ustar debian/openarena128.png debian/source/format0000644000000000000000000000001412143670275011703 0ustar 3.0 (quilt) debian/openarena-server.postrm0000644000000000000000000000033012143670275013713 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "purge" ] ; then deluser --quiet --system Debian-openarena > /dev/null || true rm -r /var/games/openarena-server rmdir --ignore-fail-on-non-empty /var/games fi debian/README.source0000644000000000000000000000166412143670275011363 0ustar OpenArena Debian source ======================= The upstream tarball for this package is the source for the game code, distributed by upstream as Quake III Arena bytecode (cgame.qvm, qagame.qvm and ui.qvm), and in Debian as native code (cgame*.so, qagame*.so and ui*.so). The upstream svn repository is . Contrary to what the README says, OpenArena version 0.8.8 appears to be based on revision 280, with revisions 283, 288 and 291 cherry-picked, the version in Main_MenuDraw changed from OAX to 0.8.8, and COPYING, README-0.8.8, README-0.8.8~ and linux_scripts/supermake.local added. The repacked source tarball distributed in Debian omits tools/lcc (the bytecode compiler, which is non-free) and windows_scripts/*.exe (precompiled Windows binaries for lcc and q3asm). In a normal OpenArena build, QVM files would be built from these sources using lcc. In Debian we build them as native-code using gcc instead. debian/openarena.bug-control0000644000000000000000000000002612143670275013320 0ustar report-with: ioquake3 debian/openarena-server.bug-control0000644000000000000000000000003512143670275014624 0ustar report-with: ioquake3-server debian/openarena.desktop0000644000000000000000000000052412143670275012541 0ustar [Desktop Entry] Name=OpenArena Comment=A fast-paced 3D first-person shooter, similar to id Software Inc.'s Quake III Arena Comment[de]=Ein hektischer und netzwerkfähiger 3D Ego-Shooter, ähnlich zu Quake III Arena von id Software Inc. Exec=/usr/games/openarena Terminal=false Icon=openarena128 Type=Application Categories=Game;ArcadeGame; debian/openarena-server.60000644000000000000000000000516712143670275012551 0ustar .TH OPENARENA-SERVER 6 2010-10-15 .SH NAME openarena-server \- OpenArena dedicated server .SH SYNOPSIS .BR openarena-server .BR "" [ \-h | \-\-help ] .BR "" [ \-q | \-\-quiet ] .BR "" [ +set .IR option " " value ]... .SH DESCRIPTION .B openarena-server is the dedicated server for the first-person shooter OpenArena. .SH OPTIONS The wrapper script used for OpenArena in Debian accepts these options: .TP \fB\-h\fR, \fB\-\-help\fR Display a short help summary .TP \fB\-q\fR, \fB\-\-quiet\fR Disable all output .PP Any console command can also be prefixed with \fB+\fR and used as a command-line option (run the server in a terminal to use the console). The \fB+set\fR command is generally the most useful to use on the command line. .PP Options that can be set with \fB+set\fR (note that this is not a full list!) include: .PP \fBcapturelimit\fR .PP \fBdedicated\fR .PP \fBfraglimit\fR .PP \fBfs_basepath\fR .PP \fBfs_game\fR .PP \fBg_allowVote\fR .PP \fBg_banIPs\fR .PP \fBg_doWarmup\fR .PP \fBg_friendlyFire\fR .PP \fBg_gametype\fR .PP \fBg_gravity\fR .PP \fBg_inactivity\fR .PP \fBg_maxGameClients\fR .PP \fBg_motd\fR .PP \fBg_needpass\fR .PP \fBg_password\fR .PP \fBg_quadfactor\fR .PP \fBg_weaponrespawn\fR .PP \fBnet_ip\fR .PP \fBnet_port\fR .PP \fBnet_qport\fR .PP \fBnextmap\fR .PP \fBsv_allowDownload\fR .PP \fBsv_floodProtect\fR .PP \fBsv_fps\fR .PP \fBsv_hostname\fR .PP \fBsv_maxclients\fR .PP \fBsv_maxPing\fR (Measurd in milliseconds) .PP \fBsv_minPing\fR (Measurd in milliseconds) .PP \fBsv_pure\fR .PP \fBtimelimit\fR (Measured in minutes) .SH ENVIRONMENT The wrapper script used to launch OpenArena allows it to be debugged by setting environment variables. .TP \fBOPENARENA_DEBUGGER=\fIcommand\fR A debugger or other prefix to prepend to the OpenArena command line, such as \fBstrace\fR; overridden by \fBOPENARENA_BACKTRACE\fR .TP \fBOPENARENA_BACKTRACE=1\fR Use \fBgdb\fR(1) to get a backtrace if OpenArena crashes (the \fBgdb\fR package must be installed for this to work) .SH SEE ALSO .BR openarena (6), .BR ioquake3-server (6), /usr/share/doc/openarena .SH AUTHOR OpenArena was written by the OpenArena Team. The engine used is a modified ioQuake3, originally created by id Software and now maintained by the ioQuake3 community. .PP This manual page was written by Bruno "Fuddl" Kleinert and Simon McVittie , for the Debian project (but may be used by others). debian/scripts/0000755000000000000000000000000012143670275010664 5ustar debian/scripts/openarena.in0000644000000000000000000000423412143670275013167 0ustar #!/bin/sh # quake3 or quake3-server or whatever IOQ3SELF=@IOQ3SELF@ # "server" or "client" IOQ3ROLE=@IOQ3ROLE@ # ioquake3 or ioq3ded IOQ3BINARY=@IOQ3BINARY@ # /usr/lib/openarena or /usr/lib/openarena-server FS_BASEPATH=@FS_BASEPATH@ ENGINE="/usr/lib/ioquake3/${IOQ3BINARY}" DEBUGGER="$OPENARENA_DEBUGGER" # we're a standalone game CVARS="+set com_basegame baseoa" CVARS="$CVARS +set fs_basepath $FS_BASEPATH" CVARS="$CVARS +set com_homepath .openarena" # OA uses a different protocol number to reflect incompatible game content. # When it says "71", that's actually the legacy Quake III Arena 1.32c protocol, # protocol 68. CVARS="$CVARS +set com_legacyprotocol 71" # For the moment, disable the modern protocol, by setting this cvar to the # same thing. When OA upstream decide what value they'll use, we should # catch up. CVARS="$CVARS +set com_protocol 71" # OA's default master server is different CVARS="$CVARS +set sv_master1 dpmaster.deathmask.net" # update.quake3arena.com is pretty irrelevant if you're playing OA CVARS="$CVARS +set cl_motd 0" # OA 0.8.5 sends QuakeArena-1 heartbeats, which dpmaster interprets as implying # that it's a version of Quake III Arena from the future rather than a separate # game. Remain compatible even in ioquake3 >= r2105, by leaving com_gamename # set to the default, "Quake3Arena"; this will hopefully be fixed in a future # OA version, but that's a compatibility break. #CVARS="$CVARS +set com_gamename Quake3Arena" QUIET=0 EXCUSE="\ OpenArena ${IOQ3ROLE} wrapper for Debian\n\ \n\ Usage: ${IOQ3SELF} [OPTION]...\n\ \n\ -h, --help\t\tDisplay this help\n\ -q, --quiet\t\tDisable console output\n\ +\tPass commands to the engine\n" while [ "$1" != "" ]; do case "$1" in -h|--help) echo ${EXCUSE} exit 0 ;; -q|--quiet) CVARS="$CVARS +set ttycon 0" QUIET=1 ;; *) break ;; esac shift done if test "z$QUIET" = z1; then exec >/dev/null 2>&1; fi if test -n "$OPENARENA_BACKTRACE"; then exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' -ex kill -ex quit --args ${ENGINE} ${CVARS} "$@" else exec ${DEBUGGER} ${ENGINE} ${CVARS} "$@" fi debian/openarena.install0000644000000000000000000000040312143670275012532 0ustar debian/scripts/openarena usr/games debian/openarena.desktop usr/share/applications debian/openarena128.png usr/share/icons/hicolor/128x128/apps debian/openarena32.xpm usr/share/pixmaps debian/tmp/usr/lib/openarena/*/*.so debian/tmp/usr/lib/openarena/*/*/*.so debian/changelog0000644000000000000000000004543712143670275011064 0ustar openarena (0.8.8-9) unstable; urgency=low * Merge from experimental to unstable * Add new watch file, using fakeupstream.cgi to work around the upstream downloads page not being uscan'able (thanks to Bart Martens) * debian/link-modules.sh: add symlinks so that on i386 and alpha, the game code can be loaded by either old ioquake3 (which looks for i386.so, axp.so) or new ioquake3 (which looks for x86.so, alpha.so) -- Simon McVittie Sun, 12 May 2013 11:36:14 +0100 openarena (0.8.8-8) experimental; urgency=low * Merge from 0.8.8-5+deb7u2 - Switch /usr/share/doc/openarena-dbg from a symlink to openarena-server to a real directory, fixing missing copyright file on upgrade from wheezy or sid (Closes: #698463) and unwanted dependency on openarena-server -- Simon McVittie Sat, 19 Jan 2013 13:53:05 +0000 openarena (0.8.8-7) experimental; urgency=low * Merge from 0.8.8-5+deb7u1 - Add patch from upstream to fix a client-triggerable server crash. Thanks to Poul Sander and Markus Koschany (Closes: #681812) * Request confirmation before enabling auto-downloading, which is a security risk (Closes: #686648) -- Simon McVittie Fri, 14 Sep 2012 10:35:01 +0100 openarena (0.8.8-6) experimental; urgency=low * Switch gbp.conf to experimental branch * Compile on Hurd (patch and testing by Svante Signell, related to #679330) -- Simon McVittie Thu, 05 Jul 2012 08:57:58 +0100 openarena (0.8.8-5) unstable; urgency=low * Don't refuse to start a new openarena-server if there's a stale pid file (Closes: #678543) * Make sure to get the status of the right ioq3ded instance, using the pid file -- Simon McVittie Sat, 23 Jun 2012 00:36:45 +0100 openarena (0.8.8-4) unstable; urgency=high [ Fabian Greffrath ] * Include details of ioquake3 (or ioquake3-server) in openarena (or openarena-server) bug reports [ Simon McVittie ] * When we upgraded from before 0.8.8, actually avoid running the server as intended (thanks to Stepan Golosunov for the patch; closes: #673128) * Include CPPFLAGS in CFLAGS for full hardening (the build system doesn't respect CPPFLAGS otherwise) -- Simon McVittie Mon, 16 Apr 2012 12:18:38 +0100 openarena (0.8.8-3) unstable; urgency=low * Fix upgrades of openarena-server from squeeze (Closes: #666769): - create /var/games/openarena-server if necessary - if /etc/default/openarena-server doesn't exist, assume we're upgrading from before the init script existed, and disable the init script by default -- Simon McVittie Sun, 01 Apr 2012 22:04:29 +0100 openarena (0.8.8-2) unstable; urgency=low * Merge from experimental * Depend on today's ioquake3 upload, for sv_dorestart * Use dh_auto_build to get parallel builds -- Simon McVittie Sat, 31 Mar 2012 22:20:12 +0100 openarena (0.8.8-1) experimental; urgency=low [ Peter Eisentraut ] * Add support for "status" action to openarena-server init script (Closes: #647019) [ Simon McVittie ] * Improve the -dbg package's description * Depend directly on the split data packages * Update to version 0.8.8 (Closes: #661107) - update README.source, copyright; add get-orig-source - get rid of the unused engine/ directory, move game code from game/ to ./, and adapt patches and debian/rules accordingly - depend on openarena-088-data and symlink the extra PK3 file into place - drop patches 0001, 0002, 0039, 0042 (fixed upstream) - drop patch 0036 (unnecessary) - set VERSION to the Debian package version and display it in the menu * Standards-Version: 3.9.3 (no changes) * Use debhelper 9 for compressed, build-ID-based debug symbols * Use /usr/share/dpkg/default.mk to get the CFLAGS and package version * Drop compatibility with ioquake3 < r2075 * Add LSB Description header to the openarena-server init script * Install game logic in both packages so openarena doesn't have to depend on openarena-server * Use better destinations for the README, CREDITS symlinks * Change openarena-server to be enabled by default, with a special case to disable it in upgrades from a version where it was disabled -- Simon McVittie Sun, 26 Feb 2012 22:38:07 +0000 openarena (0.8.5-10) unstable; urgency=low [ Bruno "Fuddl" Kleinert ] * As the package uses debhelper (>= 8) the parallel=N stuff can be removed from debian/rules [ Simon McVittie ] * Set protocol for ioquake3 >= r2075, as well as for older versions * Use Quake3Arena as our game name, so IPv6 queries to master servers might actually work -- Simon McVittie Thu, 04 Aug 2011 09:08:32 +0100 openarena (0.8.5-9) unstable; urgency=low * Remove build-dependencies that were only there to support the engine, which we no longer build from this source package - in particular, libjpeg62-dev (Closes: #635089) * Force CFLAGS from SDL to not be used, even if it's installed, to make sure builds are consistent * Standards-Version: 3.9.2 (no changes) -- Simon McVittie Sat, 23 Jul 2011 19:12:43 +0100 openarena (0.8.5-8) unstable; urgency=low * Team upload * Do not mess with users' PATH environment variable in /usr/share/applications/openarena.desktop file. Instead call /usr/games/openarena directly. -- Bruno "Fuddl" Kleinert Fri, 11 Mar 2011 13:40:55 +0100 openarena (0.8.5-7) unstable; urgency=low * Use ~/.openarena, not ~/openarena (Closes: #612782) -- Simon McVittie Thu, 10 Feb 2011 17:30:00 +0000 openarena (0.8.5-6) unstable; urgency=low * Use com_basegame, com_homepath etc. from recent upstream ioquake3 - depend on a suitably new snapshot - keep the older build-dependency, since all we actually need is q3arch.sh * Add an openarena-dbg package with debug symbols * Don't strcpy a buffer into itself, squashing a valgrind warning * Declare CG_FairCvars properly, squashing a compiler warning * Convert debian/copyright to machine-readable format -- Simon McVittie Sat, 05 Feb 2011 22:30:39 +0000 openarena (0.8.5-5+exp3) experimental; urgency=low * Make the OPENARENA_BACKTRACE option work correctly -- Simon McVittie Sun, 16 Jan 2011 22:27:02 +0000 openarena (0.8.5-5+exp2) experimental; urgency=low * Create a Debian-openarena user and install an init script (off by default) (Closes: #503106) * Add a README.Debian explaining alternative ways to run the server * Depend on an ioquake3-server new enough to install q3arch, and run that instead of having our own copy * Depend on debhelper 8 and convert the rules file to dh style -- Simon McVittie Fri, 12 Nov 2010 23:12:26 +0000 openarena (0.8.5-5+exp1) experimental; urgency=low * Install wrapper scripts for ioquake3, instead of our own engine - therefore we no longer use a local copy of libjpeg (Closes: #495966) - remove all patches that only change the engine - adjust FreeBSD portability patch to only apply to the game code * Set up debian/rules so DEB_BUILD_OPTIONS="noopt" does a debug build * Improve the man pages * Update q3arch.sh from ioquake3 - don't warn when building on arm/armel - output the chosen architecture for the benefit of buildd logs -- Simon McVittie Fri, 15 Oct 2010 21:17:55 +0100 openarena (0.8.5-5) unstable; urgency=medium * Add patch (already upstream as oax r239) to fix a crash if a non-client object is damaged by a non-player source, e.g. setting off the Kamikaze near a powerup (Closes: #599866) -- Simon McVittie Mon, 11 Oct 2010 19:40:30 +0100 openarena (0.8.5-4) unstable; urgency=low * Build a second copy of the game logic and install it in a subdirectory. It turns out that OpenArena 0.8.1 and 0.8.5 aren't network-compatible. * Depend on openarena-data (>= 0.8.5-3~) which causes us to load the 0.8.1-compatible game logic whenever the upstream version would use 0.8.1's bytecode (Closes: #592965) -- Simon McVittie Tue, 24 Aug 2010 20:20:07 +0100 openarena (0.8.5-3) unstable; urgency=medium * Add patch from oax r203 to fix server crashes if a player joins, then rapidly leaves or dies (Closes: #592020) -- Simon McVittie Sun, 08 Aug 2010 11:53:58 +0100 openarena (0.8.5-2) unstable; urgency=low [ Simon McVittie ] * Improve patch tagging/attribution * Add patch from ioquake3 r1788 to avoid buffer overflows * Upload to unstable, now that -data 0.8.1+dfsg1-1 has migrated [ Ansgar Burchardt ] * debian/control: Remove myself from Uploaders. -- Simon McVittie Tue, 03 Aug 2010 10:58:54 +0100 openarena (0.8.5-1) experimental; urgency=low * New upstream version (Closes: #573995) * Repack upstream tarball to have engine and game subdirectories; the engine subdirectory is from ioquake3 svn, and the game subdirectory is from Open Arena Expanded (the stuff previously applied as a patch) * Apply some of the OpenArena changes to ioquake3 as Debian patches; move the remaining OpenArena changes to debian/unapplied/ * Adjust previous Debian patches to apply to this structure * q3arch.sh: be more pedantic about the listed architectures, since they have to be kept in sync with q_platform.h (possibly fixing OA on mipsel, if it will even run there) * Add a stub watch file explaining why we can't use uscan for OA * Standards-Version: 3.9.1 (no changes needed) - one known Policy violation: the embedded libjpeg is filed as #495966 -- Simon McVittie Thu, 29 Jul 2010 21:05:41 +0100 openarena (0.8.1-8) unstable; urgency=low * Add myself to Uploaders * Standards-Version: 3.9.0 (no changes needed) * Ship the source code for the game logic (normally in QVN bytecode files, which need a non-free compiler), from openarena-modSDK-0.8.1.tar.bz2; compile it to native code and package it in openarena-server (Closes: #559240) * Make openarena depend on openarena-server, to avoid having to add a third binary package for the game code (this adds less than 1MB to an installation of openarena) * Load data from /usr/lib, and create symlinks to the PK3 files in /usr/share, to avoid having to define yet another search path * Load game logic as native code if the QVM file starts with magic number 'NTVE', even on pure servers * Tighten versioned dependency on openarena-data - now that we're shipping the game logic here and the rest in openarena-data, we need to make sure they're in sync -- Simon McVittie Thu, 22 Jul 2010 00:38:00 +0100 openarena (0.8.1-7) unstable; urgency=low * Use memmove instead of strcpy for overlapping memory regions. (LP: #554748) + new patch: memmove.patch * Fix spelling error. + new patch: spelling.patch * debian/control: Add ${misc:Depends} to binary package dependencies. * Bump Standards-Version to 3.8.4 (no changes). -- Ansgar Burchardt Mon, 07 Jun 2010 13:49:36 +0900 openarena (0.8.1-6) unstable; urgency=low * Convert source package to format 3.0 quilt * Drop build dependency on quilt * Remove quilt calls from debian/rules * Drop build dependency on sharutils, because we now can ship (binary) PNG icons in debian 3.0 source packages * Import a patch from Simon McVittie (see #546184 for details) to fix building openarena on amd64 processors with a 32bit userland. Thanks to Simon McVittie! (Closes: #546184) * Allow parallel builds for SMP machines to speed up building openarena * Update Vcs-* fields as this package now lives in Git -- Bruno "Fuddl" Kleinert Thu, 19 Nov 2009 17:37:45 +0100 openarena (0.8.1-5) unstable; urgency=low [ Gonéri Le Bouder ] * Segfault when deleting non-existent ban address 0, thanks Guillaume Delacour (Closes: #532212) * Standards version: 3.8.3 - README.source to explain how the quilt patch system works [ Paul Wise ] * Drop the dh_desktop call -- Gonéri Le Bouder Fri, 21 Aug 2009 20:16:35 +0200 openarena (0.8.1-4) unstable; urgency=low [ Gonéri Le Bouder ] * fix FTBFS on kFreeBSD, thanks Cyril Brulebois (#413617) * Standard version 3.8.1, no change [ Paul Wise ] * Makes the desktop file valid according to desktop-file-validate -- Gonéri Le Bouder Sun, 19 Apr 2009 19:49:34 +0200 openarena (0.8.1-3) unstable; urgency=low * Turn on BUILD_CLIENT_SMP (Closes: #517894) -- Gonéri Le Bouder Mon, 02 Mar 2009 21:47:05 +0100 openarena (0.8.1-2) unstable; urgency=low * Upload to unstable * Add myself in uploaders: -- Gonéri Le Bouder Sat, 14 Feb 2009 15:42:55 +0100 openarena (0.8.1-1) experimental; urgency=low * New upstream release * Remove dfsg from version string because upstream no longer distributes non-free code * Update my email address where necessary * Install documentation files in the binary packages openarena and openarena-server * Switch to quilt as patch management system * Use quilt in debian/rules * Import existing patches to quilt * Drop dpatch and add quilt als build dependency * Refresh/edit 10_remove_upstream_build_flags.diff: We want to keep distribution-specific build flags in our rules file * Add 20_dont_build_shipped_jpeg.diff to build against system jpeg library (Closes: #495966) * Add 30_link_against_local_libspeex.diff to build against system speex and speexdsp libraries -- Bruno "Fuddl" Kleinert Sun, 23 Nov 2008 23:19:22 +0100 openarena (0.7.7+dfsg1-1) unstable; urgency=low * Remove non-free code/tools/lcc (Closes: #496346) + Remove hunk from patch 10_fix_build_and_binary_on_alpha + debian/rules: Add BUILD_GAME_QVM=0 to $(MAKE) call (thanks to Peter De Wachter) * Remove code/libs containing binary libraries for Mac OS X and Win32 * debian/copyright: Explain which parts of upstream's sources were removed * debian/rules: replace ${source:Upstream-Version} by 0.7.7 because the variable also contains the `+dfsg1' part * Add -fsigned-char to compiler options (Closes: #487970) (thanks to Peter De Wachter) * Add myself to Uploaders * debian/control: Remove article from beginning of short description, don't start short description with a capital letter * debian/openarena.6: Escape minus signs + fixes lintian warnings: hyphen-used-as-minus-sign -- Ansgar Burchardt Fri, 05 Sep 2008 21:14:51 +0200 openarena (0.7.7-1) unstable; urgency=low * New upstream release (Closes: #485675) * Add 10_remove_upstream_build_flags.dpatch to remove hard-wired build flags * Get rid of wrapper scripts * Update manpages to reflect the lack of --help, which was formerly interpreted by the wrapper scripts * Update debian/rules to install binaries in /usr/games instead of /usr/lib/games/openarena -- Bruno "Fuddl" Kleinert Tue, 24 Jun 2008 12:03:06 +0200 openarena (0.7.6-1) unstable; urgency=low [ Bruno "Fuddl" Kleinert ] * New upstream release * Freshen 10_fix_build_and_binary_on_alpha.dpatch to apply to latest upstream sources * Remove 10-fix_menudef.h_includes.dpatch which pulled in a missing header file. The header is now included in the upstream tarball. * Remove debian/watch, because upstream places its new releases too often to different download locations * Updated debian/copyright to reflect the download location * Expand copyright years in debian/copyright -- Bruno "Fuddl" Kleinert Thu, 24 Apr 2008 14:33:54 +0200 openarena (0.7.0-3) unstable; urgency=low [ Bruno "Fuddl" Kleinert ] * Rename XS-Vcs-fields to Vcs-fields in the control file * Remove Homepage URLs from package descriptions * Update my email address where necessary * Update to standards version 3.7.3.0. No changes * Add comment to 10-fix_menudef.h_includes.dpatch. Found by lintian * Install PNG desktop icon to correct location * Build-Depend on libcurl4-gnutls-dev instead of deprecated libcurl3-dev * Build-depend on debhelper >= 5.0.51. Found by lintian * We need dh_icons of version >= 5.0.51 [ Ansgar Burchardt ] * Remove deprecated Encoding key from .desktop file -- Bruno "Fuddl" Kleinert Sat, 22 Mar 2008 14:23:16 +0100 openarena (0.7.0-2) unstable; urgency=low * Fix inadvertent installation of files below usr/share/doc/openarena-server by the openarena (client) package. (Closes: #440173) [ Barry deFreese ] * Add watch file [ Jon Dowland ] * add Homepage: control field to source stanza -- Jon Dowland Mon, 03 Dec 2007 17:45:55 +0000 openarena (0.7.0-1) unstable; urgency=low [ Bruno "Fuddl" Kleinert ] * New upstream release (Closes: #432477) * Build-depend on libcurl3-dev (Closes: #430739) * Adjuste Debian menu file to the new menu structure * Improved README.Debian * Unified any kind of "Open Arena" spelling to "OpenArena" * 10_fix_buffer_overflow_and_format_string_bug_in_auth_server_response.dpatch merged with upstream * 10_fix-gcc4.2-compilation.dpatch fixed by upstream * Add 10-fix_menudef.h_includes.dpatch to add forgotten header and fix wrong #include-paths of that file * Add build dependency libvorbis-dev * Documentation moved into openarena-data [ Cyril Brulebois ] * Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file. -- Bruno "Fuddl" Kleinert Fri, 10 Aug 2007 19:54:35 +0200 openarena (0.6.0-4) unstable; urgency=low * Update build dependencies to libcurl4 * Add patch to make the engine compile with gcc-4.2 (Closes: #410178) -- Bruno "Fuddl" Kleinert Fri, 22 Jun 2007 12:42:36 +0200 openarena (0.6.0-3) unstable; urgency=low * Exchanged "Quake 3" stuff in wrapper scripts by "OpenArena" * Replaced german-english mixture 'ego-shooter' by first-person shooter (Closes: #411205) * Fixed bash-specific syntax in the openarena wrapper script (Closes: #411350) * Don't dlopen() libcurl to have it automatically in binary dependency list * Fix build and resulting binary on alpha. Thanks Steve Langasek for the patch! (Closes: #410555) -- Bruno "Fuddl" Kleinert Wed, 2 May 2007 21:28:55 +0200 openarena (0.6.0-2) unstable; urgency=low [ Bruno "Fuddl" Kleinert ] * Fix a buffer overflow in auth server response processing [ Gonéri Le Bouder ] * call dh_desktop to run update-desktop-database [ Jon Dowland ] * fix spelling in debian/control -- Jon Dowland Sat, 20 Jan 2007 12:28:09 +0000 openarena (0.6.0-1) unstable; urgency=low * Initial release (Closes: #380100) -- Bruno "Fuddl" Kleinert Wed, 6 Dec 2006 15:38:12 +0100 debian/compat0000644000000000000000000000000212143670275010373 0ustar 9 debian/copyright0000644000000000000000000000535712143670275011142 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: oax Upstream-Contact: http://openarena.ws/ Source: http://openarena.ws/page.php?14 Comment: The source tarball was repacked using debian/rules get-orig-source to remove lcc (a non-free compiler) and some Windows binaries. License: GPL-2+ 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. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. . You can find the GPL license text on a Debian system under /usr/share/common-licenses/GPL-2. Files: * Copyright: © 1999-2005 id Software Inc. © 2005-2012 OpenArena Team © 2008-2010 Poul Sander © 2000-2006 Tim Angus © 2004-2006 Tony J. White © 2006 Neil Toronto © 2008 Przemyslaw Iskra © 2009 Karl Kuglin License: GPL-2+ Files: debian/* Copyright: © 2010 Bruno Kleinert © 2010-2012 Simon McVittie License: GPL-2+ Files: code/game/bg_lib.c Copyright: © 1992, 1993 The Regents of the University of California License: BSD-3-clause All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/openarena-server.install0000644000000000000000000000025112143670275014037 0ustar debian/server.cfg etc/openarena-server debian/scripts/openarena-server usr/games debian/tmp/usr/lib/openarena-server/*/*.so debian/tmp/usr/lib/openarena-server/*/*/*.so debian/openarena.README.Debian0000644000000000000000000000131612143670275013206 0ustar OpenArena for Debian ==================== In the Debian package of the OpenArena client, flares (light gloss effect around light sources) is disabled by default, because it causes a performance loss on certain graphics hardware (Intel cards and maybe others). On ATI or NVIDIA cards (and maybe others) you won't notice a great performance penalty if flares are enabled. To enable the flare effect, launch OpenArena and open the in-game console by pressing +, then type "\r_flares 1" (without the quotes). If you notice a performance loss, you can disable flares again by typing "\r_flares 0" (without the quotes) in the in-game console. This setting is saved automatically, when OpenArena is closed. debian/openarena-server.links0000644000000000000000000000256412143670275013522 0ustar etc/openarena-server/server.cfg usr/lib/openarena-server/baseoa/debian_server.cfg usr/share/doc/openarena-data/changelog.gz usr/share/doc/openarena-server/changelog.gz usr/share/doc/openarena-088-data/CREDITS-0.8.8 usr/share/doc/openarena-server/CREDITS usr/share/doc/openarena-data/LINUXNOTES usr/share/doc/openarena-server/LINUXNOTES usr/share/doc/openarena-088-data/readme_088.txt usr/share/doc/openarena-server/README usr/share/games/openarena/baseoa/pak0.pk3 usr/lib/openarena-server/baseoa/pak0.pk3 usr/share/games/openarena/baseoa/pak1-maps.pk3 usr/lib/openarena-server/baseoa/pak1-maps.pk3 usr/share/games/openarena/baseoa/pak2-players.pk3 usr/lib/openarena-server/baseoa/pak2-players.pk3 usr/share/games/openarena/baseoa/pak2-players-mature.pk3 usr/lib/openarena-server/baseoa/pak2-players-mature.pk3 usr/share/games/openarena/baseoa/pak4-textures.pk3 usr/lib/openarena-server/baseoa/pak4-textures.pk3 usr/share/games/openarena/baseoa/pak5-TA.pk3 usr/lib/openarena-server/baseoa/pak5-TA.pk3 usr/share/games/openarena/baseoa/pak6-misc.pk3 usr/lib/openarena-server/baseoa/pak6-misc.pk3 usr/share/games/openarena/baseoa/pak6-patch085.pk3 usr/lib/openarena-server/baseoa/pak6-patch085.pk3 usr/share/games/openarena/baseoa/pak6-patch088.pk3 usr/lib/openarena-server/baseoa/pak6-patch088.pk3 usr/share/games/openarena/missionpack/mp-pak0.pk3 usr/lib/openarena-server/missionpack/mp-pak0.pk3 debian/watch0000644000000000000000000000044712143670275010233 0ustar version=3 http://qa.debian.org/cgi-bin/fakeupstream.cgi?package=openarena .*=openarena-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|unknown\.suffix) # only useful for tracking the version, not for downloading the upstream tarball # Bart Martens Sun, 20 Jan 2013 07:04:24 +0000 debian/link-modules.sh0000644000000000000000000000067012143670275012137 0ustar #!/bin/sh set -e cd debian/tmp/usr/lib/openarena arch="$1" case "$arch" in (x86) compat=i386 ;; (i386) compat=x86 ;; (alpha) compat=axp ;; (axp) compat=alpha ;; esac if test -n "$compat"; then for module in baseoa/*${arch}.so baseoa/pak*/*${arch}.so missionpack/*${arch}.so; do ln -s ${module##*/} ${module%${arch}.so}${compat}.so done fi debian/patches/0000755000000000000000000000000012143670275010624 5ustar debian/patches/0002-Fix-callvote-kick-player-does-not-exist-crash.patch0000644000000000000000000000203412143670275022747 0ustar Description: Fix for crashing the server by making a callvote to kick a player which does not exist Author: Poul Sander Origin: upstream Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681812 Applied-Upstream: http://code.google.com/p/oax/source/detail?r=304 Last-Update: 2012-09-13 Tested-by: Markus Koschany --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/code/game/g_cmds.c +++ b/code/game/g_cmds.c @@ -1812,7 +1812,7 @@ void Cmd_CallVote_f( gentity_t *ent ) { Com_sprintf( level.voteDisplayString, sizeof( level.voteDisplayString ), "Shuffle teams?" ); } else if ( !Q_stricmp( arg1, "kick" ) ) { i = 0; - while(Q_stricmp(arg2,(g_entities+i)->client->pers.netname)) { + while( !(g_entities+i) || !((g_entities+i)->client) || Q_stricmp(arg2,(g_entities+i)->client->pers.netname)) { //Not client i, try next i++; if(i>=MAX_CLIENTS){ //Only numbers <128 is clients debian/patches/0031-Fix-FTBFS-on-kFreeBSD.patch0000644000000000000000000000160212143670275015612 0ustar From 0466115e08b56476310acb8a2f5e4570065b947e Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sun, 18 Jul 2010 00:00:40 +0100 Subject: [PATCH 2/3] Fix FTBFS on kFreeBSD [It's close enough to Linux for our purposes that we'll just pretend it's Linux. -smcv] Origin: vendor Bug-Debian: http://bugs.debian.org/413617 --- code/qcommon/q_platform.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h index 6490ddb..15616dd 100644 --- a/code/qcommon/q_platform.h +++ b/code/qcommon/q_platform.h @@ -147,7 +147,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA //================================================================= LINUX === -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD_kernel__) #include -- 1.7.9.1 debian/patches/0001-Use-a-cpp-macro-for-the-game-code-version-so-package.patch0000644000000000000000000000426112143670275023733 0ustar From 85ec08ac63874e3d012743048d1e71ff06044460 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Feb 2012 17:38:46 +0000 Subject: [PATCH] Use a cpp macro for the game-code version so packages can override it Also draw it at a variable location, so it's right-aligned. --- Makefile | 2 +- code/q3_ui/ui_menu.c | 2 +- code/qcommon/q_shared.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b0b6da8..3b2bfdb 100644 --- a/Makefile +++ b/Makefile @@ -185,7 +185,7 @@ ifeq ($(SDL_CFLAGS),) endif # version info -VERSION=1.36 +VERSION=OAX USE_SVN= ifeq ($(wildcard .svn),.svn) diff --git a/code/q3_ui/ui_menu.c b/code/q3_ui/ui_menu.c index c407a45..0a5ba8f 100644 --- a/code/q3_ui/ui_menu.c +++ b/code/q3_ui/ui_menu.c @@ -239,7 +239,7 @@ static void Main_MenuDraw( void ) { UI_DrawString( 320, 444, "read COPYING for details.", UI_CENTER|UI_SMALLFONT, color ); //Draw version. - UI_DrawString( 640-40, 480-14, "^70.8.8", UI_SMALLFONT, color ); + UI_DrawString( 640 - (8 * strlen(PRODUCT_VERSION) + 1), 480-14, S_COLOR_WHITE PRODUCT_VERSION, UI_SMALLFONT, color ); if((int)trap_Cvar_VariableValue("protocol")!=71) UI_DrawString( 0, 480-14, va("^7Protocol: %i",(int)trap_Cvar_VariableValue("protocol")), UI_SMALLFONT, color); } diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index f8b1365..446add3 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // A user mod should never modify this file //#ifdef STANDALONE - #define PRODUCT_NAME "ioq3+oa" + #define PRODUCT_NAME "OpenArena" #define BASEGAME "baseoa" #define CLIENT_WINDOW_TITLE "OpenArena" #define CLIENT_WINDOW_MIN_TITLE "OA" @@ -39,7 +39,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif*/ #ifdef _MSC_VER - #define PRODUCT_VERSION "1.35" + #define PRODUCT_VERSION "OAX" #endif #define Q3_VERSION PRODUCT_NAME " " PRODUCT_VERSION -- 1.7.9.1 debian/patches/series0000644000000000000000000000046712143670275012050 0ustar 0001-Use-a-cpp-macro-for-the-game-code-version-so-package.patch 0002-Fix-callvote-kick-player-does-not-exist-crash.patch 0003-Request-confirmation-if-a-user-enables-auto-download.patch 0031-Fix-FTBFS-on-kFreeBSD.patch 0040-Add-OPENARENA_081_COMPATIBLE-define-for-network-comp.patch openarena_hurd_support.patch debian/patches/0003-Request-confirmation-if-a-user-enables-auto-download.patch0000644000000000000000000001022612143670275024314 0ustar From b2bc13d7043d8a02df081a54e19a999e82f74f2e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 14 Sep 2012 10:23:06 +0100 Subject: [PATCH] Request confirmation if a user enables auto-downloading The Q3 UI toolkit isn't great at large amounts of text, so just point to a deb.li link into the Debian wiki. Origin: vendor, Debian Bug-Debian: http://bugs.debian.org/686648 --- code/q3_ui/ui_firstconnect.c | 17 +++++++++++++++-- code/q3_ui/ui_local.h | 1 + code/q3_ui/ui_preferences.c | 40 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/code/q3_ui/ui_firstconnect.c b/code/q3_ui/ui_firstconnect.c index 5291aea..7fac4b8 100644 --- a/code/q3_ui/ui_firstconnect.c +++ b/code/q3_ui/ui_firstconnect.c @@ -194,7 +194,17 @@ FirstConnect_StatusBar_Download ================= */ static void FirstConnect_StatusBar_Download( void* ptr ) { - UI_DrawString( 320, 440, "Auto download missing maps and mods", UI_CENTER|UI_SMALLFONT, colorWhite ); + UI_DrawString( 320, 440, "Security risk, see ", UI_CENTER|UI_SMALLFONT, colorWhite ); +} + +static void AutoDownloadAction( qboolean result ) +{ + if (result) { + trap_Cvar_SetValue( "cl_allowDownload", 1 ); + } else { + trap_Cvar_SetValue( "cl_allowDownload", 0 ); + } + s_firstconnect.allowdownload.curvalue = result; } /* @@ -251,8 +261,11 @@ static void FirstConnect_Event( void* ptr, int event ) break; case ID_ALLOWDOWNLOAD: - trap_Cvar_SetValue( "cl_allowDownload", s_firstconnect.allowdownload.curvalue ); trap_Cvar_SetValue( "sv_allowDownload", s_firstconnect.allowdownload.curvalue ); + if ( s_firstconnect.allowdownload.curvalue ) + UI_ConfirmAutoDownload( AutoDownloadAction ); + else + trap_Cvar_SetValue( "cl_allowDownload", 0 ); break; case ID_DELAGHITSCAN: diff --git a/code/q3_ui/ui_local.h b/code/q3_ui/ui_local.h index 0ba5512..1e5b1f6 100644 --- a/code/q3_ui/ui_local.h +++ b/code/q3_ui/ui_local.h @@ -458,6 +458,7 @@ extern void PlayerSettings_Cache( void ); // ui_preferences.c // extern void UI_PreferencesMenu( void ); +extern void UI_ConfirmAutoDownload( void (*action) (qboolean) ); extern void Preferences_Cache( void ); // diff --git a/code/q3_ui/ui_preferences.c b/code/q3_ui/ui_preferences.c index 32b693f..94d80a0 100644 --- a/code/q3_ui/ui_preferences.c +++ b/code/q3_ui/ui_preferences.c @@ -131,6 +131,41 @@ static void Preferences_SetMenuItems( void ) { s_preferences.teamchatbeep.curvalue = trap_Cvar_VariableValue( "cg_teamChatBeep" ) != 0; } + +static void AutoDownloadAction( qboolean result ) +{ + if (result) { + trap_Cvar_SetValue( "cl_allowDownload", 1 ); + } else { + trap_Cvar_SetValue( "cl_allowDownload", 0 ); + } + s_preferences.allowdownload.curvalue = result; +} + +static void UI_ConfirmAutoDownload_Draw ( void ) +{ + UI_DrawProportionalString( SCREEN_WIDTH/2, 356 + PROP_HEIGHT * 0, + "WARNING: This is a security risk.", + UI_CENTER|UI_SMALLFONT, color_yellow ); + UI_DrawProportionalString( SCREEN_WIDTH/2, 356 + PROP_HEIGHT * 1, + "More information: ", + UI_CENTER|UI_SMALLFONT, color_yellow ); +} + +void UI_ConfirmAutoDownload( void (*action) (qboolean) ) +{ + if (trap_Cvar_VariableValue( "cl_allowDownload" ) != 0) { + /* already set */ + return; + } + + UI_ConfirmMenu_Style( + "Auto-download?", + UI_CENTER|UI_SMALLFONT, + UI_ConfirmAutoDownload_Draw, + action); +} + static void Preferences_Event( void* ptr, int notification ) { if( notification != QM_ACTIVATED ) { return; @@ -216,8 +251,11 @@ static void Preferences_Event( void* ptr, int notification ) { break; case ID_ALLOWDOWNLOAD: - trap_Cvar_SetValue( "cl_allowDownload", s_preferences.allowdownload.curvalue ); trap_Cvar_SetValue( "sv_allowDownload", s_preferences.allowdownload.curvalue ); + if ( s_preferences.allowdownload.curvalue ) + UI_ConfirmAutoDownload( AutoDownloadAction ); + else + trap_Cvar_SetValue( "cl_allowDownload", 0 ); break; case ID_DELAGHITSCAN: -- 1.7.10.4 debian/patches/openarena_hurd_support.patch0000644000000000000000000000145212143670275016435 0ustar From: Svante Signell Subject: Add support for the GNU/Hurd architecture Origin: vendor, Debian Bug-Debian: http://bugs.debian.org/679330 --- openarena-0.8.8/code/qcommon/q_platform.h 2012-06-29 16:56:11.000000000 +0200 +++ openarena-0.8.8.new/code/qcommon/q_platform.h 2012-06-28 19:21:44.000000000 +0200 @@ -147,7 +147,7 @@ //================================================================= LINUX === -#if defined(__linux__) || defined(__FreeBSD_kernel__) +#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__) #include @@ -210,6 +210,8 @@ #define OS_STRING "freebsd" #elif defined(__OpenBSD__) #define OS_STRING "openbsd" +#elif defined(__GNU__) +#define OS_STRING "GNU" #elif defined(__NetBSD__) #define OS_STRING "netbsd" #endif debian/patches/0040-Add-OPENARENA_081_COMPATIBLE-define-for-network-comp.patch0000644000000000000000000003061112143670275022753 0ustar From 553bad6773ee1a9b032102d2dfd191b2895be154 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Feb 2012 14:25:51 +0000 Subject: [PATCH 3/3] Add OPENARENA_081_COMPATIBLE define for network compat with 0.8.1 0.8.1 was approximately compatible with Quake III Arena, whereas 0.8.5 is more like Team Arena. Unfortunately, these are not the same. Not forwarded: upstream expect everyone to use the precompiled bytecode they supply, which was built from unmodified 0.8.5 and 0.8.1 source code. We're not doing that in Debian for DFSG reasons, and I'd rather not add a second complete copy of the source. Origin: vendor, Debian Bug: http://openarena.ws/board/index.php?topic=3717.0 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592965 Forwarded: no --- Makefile | 4 ++++ code/cgame/cg_draw.c | 6 +++--- code/game/ai_dmq3.c | 2 ++ code/game/bg_misc.c | 15 ++++++++++++--- code/game/bg_pmove.c | 2 ++ code/game/bg_public.h | 11 ++++++++++- code/game/g_active.c | 11 ++++++++++- code/game/g_combat.c | 4 ++++ code/game/g_items.c | 9 ++++++++- 9 files changed, 55 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index e9e212f..3b2bfdb 100644 --- a/Makefile +++ b/Makefile @@ -852,6 +852,10 @@ endif BASE_CFLAGS += -DPRODUCT_VERSION=\\\"$(VERSION)\\\" +ifeq ($(OPENARENA_081_COMPATIBLE),1) + BASE_CFLAGS += -DOPENARENA_081_COMPATIBLE +endif + ifeq ($(V),1) echo_cmd=@: Q= diff --git a/code/cgame/cg_draw.c b/code/cgame/cg_draw.c index 391e458..7ea721b 100644 --- a/code/cgame/cg_draw.c +++ b/code/cgame/cg_draw.c @@ -1902,7 +1902,6 @@ static void CG_DrawHoldableItem( void ) { } #endif // MISSIONPACK -#ifndef MISSIONPACK /* =================== CG_DrawPersistantPowerup @@ -1910,6 +1909,7 @@ CG_DrawPersistantPowerup */ #if 1 // sos001208 - DEAD // sago - ALIVE static void CG_DrawPersistantPowerup( void ) { +#ifdef HAVE_STAT_PERSISTANT_POWERUP int value; value = cg.snap->ps.stats[STAT_PERSISTANT_POWERUP]; @@ -1917,9 +1917,9 @@ static void CG_DrawPersistantPowerup( void ) { CG_RegisterItemVisuals( value ); CG_DrawPic( 640-ICON_SIZE, (SCREEN_HEIGHT-ICON_SIZE)/2 - ICON_SIZE, ICON_SIZE, ICON_SIZE, cg_items[ value ].icon ); } +#endif } #endif -#endif // MISSIONPACK /* @@ -3316,8 +3316,8 @@ static void CG_Draw2D(stereoFrame_t stereoFrame) #ifndef MISSIONPACK CG_DrawHoldableItem(); - CG_DrawPersistantPowerup(); #endif + CG_DrawPersistantPowerup(); CG_DrawReward(); } diff --git a/code/game/ai_dmq3.c b/code/game/ai_dmq3.c index f8c4173..3200799 100644 --- a/code/game/ai_dmq3.c +++ b/code/game/ai_dmq3.c @@ -1878,10 +1878,12 @@ void BotUpdateInventory(bot_state_t *bs) { bs->inventory[INVENTORY_INVISIBILITY] = bs->cur_ps.powerups[PW_INVIS] != 0; bs->inventory[INVENTORY_REGEN] = bs->cur_ps.powerups[PW_REGEN] != 0; bs->inventory[INVENTORY_FLIGHT] = bs->cur_ps.powerups[PW_FLIGHT] != 0; +#ifdef HAVE_STAT_PERSISTANT_POWERUP bs->inventory[INVENTORY_SCOUT] = bs->cur_ps.stats[STAT_PERSISTANT_POWERUP] == MODELINDEX_SCOUT; bs->inventory[INVENTORY_GUARD] = bs->cur_ps.stats[STAT_PERSISTANT_POWERUP] == MODELINDEX_GUARD; bs->inventory[INVENTORY_DOUBLER] = bs->cur_ps.stats[STAT_PERSISTANT_POWERUP] == MODELINDEX_DOUBLER; bs->inventory[INVENTORY_AMMOREGEN] = bs->cur_ps.stats[STAT_PERSISTANT_POWERUP] == MODELINDEX_AMMOREGEN; +#endif bs->inventory[INVENTORY_REDFLAG] = bs->cur_ps.powerups[PW_REDFLAG] != 0; bs->inventory[INVENTORY_BLUEFLAG] = bs->cur_ps.powerups[PW_BLUEFLAG] != 0; bs->inventory[INVENTORY_NEUTRALFLAG] = bs->cur_ps.powerups[PW_NEUTRALFLAG] != 0; diff --git a/code/game/bg_misc.c b/code/game/bg_misc.c index 767cc7e..c701434 100644 --- a/code/game/bg_misc.c +++ b/code/game/bg_misc.c @@ -655,6 +655,7 @@ Only in CTF games /* sounds */ "" }, +#ifdef HAVE_MISSIONPACK_ITEMLIST /*QUAKED holdable_kamikaze (.3 .3 1) (-16 -16 -16) (16 16 16) suspended */ { @@ -702,6 +703,7 @@ Only in CTF games /* precache */ "", /* sounds */ "" }, +#endif /*QUAKED ammo_nails (.3 .3 1) (-16 -16 -16) (16 16 16) suspended */ @@ -751,6 +753,7 @@ Only in CTF games /* sounds */ "" }, +#ifdef HAVE_MISSIONPACK_ITEMLIST // // PERSISTANT POWERUP ITEMS // @@ -817,6 +820,7 @@ Only in CTF games /* precache */ "", /* sounds */ "" }, +#endif /*QUAKED team_CTF_neutralflag (0 0 1) (-16 -16 -16) (16 16 16) @@ -1214,6 +1218,9 @@ qboolean BG_CanItemBeGrabbed( int gametype, const entityState_t *ent, const play return qtrue; case IT_ARMOR: + upperBound = ps->stats[STAT_MAX_HEALTH] * 2; + +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[ps->stats[STAT_PERSISTANT_POWERUP]].giTag == PW_SCOUT ) { return qfalse; } @@ -1222,9 +1229,7 @@ qboolean BG_CanItemBeGrabbed( int gametype, const entityState_t *ent, const play if( bg_itemlist[ps->stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { upperBound = ps->stats[STAT_MAX_HEALTH]; } - else { - upperBound = ps->stats[STAT_MAX_HEALTH] * 2; - } +#endif if ( ps->stats[STAT_ARMOR] >= upperBound ) { return qfalse; @@ -1232,12 +1237,14 @@ qboolean BG_CanItemBeGrabbed( int gametype, const entityState_t *ent, const play return qtrue; case IT_HEALTH: +#ifdef HAVE_STAT_PERSISTANT_POWERUP // small and mega healths will go over the max, otherwise // don't pick up if already at max if( bg_itemlist[ps->stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { upperBound = ps->stats[STAT_MAX_HEALTH]; } else +#endif if ( item->quantity == 5 || item->quantity == 100 ) { if ( ps->stats[STAT_HEALTH] >= ps->stats[STAT_MAX_HEALTH] * 2 ) { return qfalse; @@ -1253,6 +1260,7 @@ qboolean BG_CanItemBeGrabbed( int gametype, const entityState_t *ent, const play case IT_POWERUP: return qtrue; // powerups are always picked up +#ifdef HAVE_STAT_PERSISTANT_POWERUP case IT_PERSISTANT_POWERUP: //In Double D we don't want persistant Powerups (or maybe, can be discussed) @@ -1273,6 +1281,7 @@ qboolean BG_CanItemBeGrabbed( int gametype, const entityState_t *ent, const play } return qtrue; +#endif case IT_TEAM: // team items, such as flags if( gametype == GT_1FCTF ) { diff --git a/code/game/bg_pmove.c b/code/game/bg_pmove.c index de3d1f5..3f2cb14 100644 --- a/code/game/bg_pmove.c +++ b/code/game/bg_pmove.c @@ -1707,6 +1707,7 @@ static void PM_Weapon( void ) { break; } +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[pm->ps->stats[STAT_PERSISTANT_POWERUP]].giTag == PW_SCOUT ) { addTime /= 1.5; } @@ -1715,6 +1716,7 @@ static void PM_Weapon( void ) { addTime /= 1.3; } else +#endif if ( pm->ps->powerups[PW_HASTE] ) { addTime /= 1.3; } diff --git a/code/game/bg_public.h b/code/game/bg_public.h index e7b0ad1..a811ce4 100644 --- a/code/game/bg_public.h +++ b/code/game/bg_public.h @@ -25,6 +25,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // because games can change separately from the main system version, we need a // second version that must match between game and cgame +#if defined(MISSIONPACK) || !defined(OPENARENA_081_COMPATIBLE) +// MISSIONPACK and 0.8.5 break ABI and network compatibility, because +// STAT_PERSISTANT_POWERUP wasn't added at the end of its enum. Sad times. +# define HAVE_STAT_PERSISTANT_POWERUP +// Adding objects to the middle of the bg_itemlist also breaks network compat. +# define HAVE_MISSIONPACK_ITEMLIST +#endif + #if defined(BG_PUBLIC_H) #else #define BG_PUBLIC_H 1 @@ -226,13 +234,14 @@ void Pmove (pmove_t *pmove); //=================================================================================== - // player_state->stats[] indexes // NOTE: may not have more than 16 typedef enum { STAT_HEALTH, STAT_HOLDABLE_ITEM, +#ifdef HAVE_STAT_PERSISTANT_POWERUP STAT_PERSISTANT_POWERUP, +#endif STAT_WEAPONS, // 16 bit fields STAT_ARMOR, STAT_DEAD_YAW, // look this direction when dead (FIXME: get rid of?) diff --git a/code/game/g_active.c b/code/game/g_active.c index d7c2311..a3c484f 100644 --- a/code/game/g_active.c +++ b/code/game/g_active.c @@ -428,10 +428,13 @@ void ClientTimerActions( gentity_t *ent, int msec ) { continue; // regenerate +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { maxHealth = client->ps.stats[STAT_MAX_HEALTH] / 2; } - else if ( client->ps.powerups[PW_REGEN] ) { + else +#endif + if ( client->ps.powerups[PW_REGEN] ) { maxHealth = client->ps.stats[STAT_MAX_HEALTH]; } else { @@ -475,6 +478,7 @@ void ClientTimerActions( gentity_t *ent, int msec ) { client->ps.stats[STAT_ARMOR]--; } } +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_AMMOREGEN ) { int w, max, inc, t, i; int weapList[]={WP_MACHINEGUN,WP_SHOTGUN,WP_GRENADE_LAUNCHER,WP_ROCKET_LAUNCHER,WP_LIGHTNING,WP_RAILGUN,WP_PLASMAGUN,WP_BFG,WP_NAILGUN,WP_PROX_LAUNCHER,WP_CHAINGUN}; @@ -511,6 +515,7 @@ void ClientTimerActions( gentity_t *ent, int msec ) { } } } +#endif } /* @@ -959,10 +964,12 @@ void ClientThink_real( gentity_t *ent ) { // set speed client->ps.speed = g_speed.value; +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_SCOUT ) { client->ps.speed *= 1.5; } else +#endif if ( client->ps.powerups[PW_HASTE] ) { client->ps.speed *= 1.3; } @@ -1270,6 +1277,7 @@ void ClientEndFrame( gentity_t *ent ) { } // set powerup for player animation +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[ent->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { ent->client->ps.powerups[PW_GUARD] = level.time; } @@ -1282,6 +1290,7 @@ void ClientEndFrame( gentity_t *ent ) { if( bg_itemlist[ent->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_AMMOREGEN ) { ent->client->ps.powerups[PW_AMMOREGEN] = level.time; } +#endif if ( ent->client->invulnerabilityTime > level.time ) { ent->client->ps.powerups[PW_INVULNERABILITY] = level.time; } diff --git a/code/game/g_combat.c b/code/game/g_combat.c index 8c61944..692269b 100644 --- a/code/game/g_combat.c +++ b/code/game/g_combat.c @@ -238,7 +238,9 @@ void TossClientPersistantPowerups( gentity_t *ent ) { powerup->r.contents = CONTENTS_TRIGGER; trap_LinkEntity( powerup ); +#ifdef HAVE_STAT_PERSISTANT_POWERUP ent->client->ps.stats[STAT_PERSISTANT_POWERUP] = 0; +#endif ent->client->persistantPowerup = NULL; } @@ -1078,9 +1080,11 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, // unless they are rocket jumping if ( attacker->client && attacker != targ ) { max = attacker->client->ps.stats[STAT_MAX_HEALTH]; +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( bg_itemlist[attacker->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { max /= 2; } +#endif damage = damage * max / 100; } diff --git a/code/game/g_items.c b/code/game/g_items.c index c5a546c..3f865c6 100644 --- a/code/game/g_items.c +++ b/code/game/g_items.c @@ -118,6 +118,7 @@ int Pickup_Powerup( gentity_t *ent, gentity_t *other ) { //====================================================================== int Pickup_PersistantPowerup( gentity_t *ent, gentity_t *other ) { +#ifdef HAVE_STAT_PERSISTANT_POWERUP int clientNum; char userinfo[MAX_INFO_STRING]; float handicap; @@ -185,6 +186,7 @@ int Pickup_PersistantPowerup( gentity_t *ent, gentity_t *other ) { break; } +#endif return -1; } @@ -280,11 +282,13 @@ int Pickup_Health (gentity_t *ent, gentity_t *other) { if( !other->client) return RESPAWN_HEALTH; +#ifdef HAVE_STAT_PERSISTANT_POWERUP // small and mega healths will go over the max if( other->client && bg_itemlist[other->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { max = other->client->ps.stats[STAT_MAX_HEALTH]; } else +#endif if ( ent->item->quantity != 5 && ent->item->quantity != 100 ) { max = other->client->ps.stats[STAT_MAX_HEALTH]; } else { @@ -318,10 +322,13 @@ int Pickup_Armor( gentity_t *ent, gentity_t *other ) { other->client->ps.stats[STAT_ARMOR] += ent->item->quantity; +#ifdef HAVE_STAT_PERSISTANT_POWERUP if( other->client && bg_itemlist[other->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) { upperBound = other->client->ps.stats[STAT_MAX_HEALTH]; } - else { + else +#endif + { upperBound = other->client->ps.stats[STAT_MAX_HEALTH] * 2; } -- 1.7.9.1 debian/openarena-server.postinst0000644000000000000000000000113712143670275014260 0ustar #!/bin/sh set -e case "$1" in configure) if ! getent passwd Debian-openarena >/dev/null; then adduser --disabled-password --quiet --system \ --home /var/games/openarena-server --no-create-home \ --gecos "OpenArena dedicated server" \ --ingroup games --force-badname Debian-openarena fi install -d /var/games install -d /var/games/openarena-server chown Debian-openarena:games /var/games/openarena-server ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/openarena-server.manpages0000644000000000000000000000003212143670275014161 0ustar debian/openarena-server.6 debian/gbp.conf0000644000000000000000000000012012143670275010605 0ustar [DEFAULT] debian-branch = master upstream-branch = upstream pristine-tar = True debian/openarena.menu0000644000000000000000000000040612143670275012033 0ustar ?package(openarena): \ needs="X11" \ section="Games/Action" \ title="OpenArena" \ longtitle="A fast-paced 3D first-person shooter, inspired by id Software Inc.'s Quake III Arena" \ icon="/usr/share/pixmaps/openarena32.xpm" \ command="/usr/games/openarena" debian/openarena-server.README.Debian0000644000000000000000000000506312143670275014515 0ustar OpenArena dedicated server for Debian ===================================== Running the server via the init script -------------------------------------- The openarena-server init script runs a dedicated server as the user "Debian-openarena". This is a simple setup suitable for running one server on a machine; by default it will run a deathmatch server. The Debian-openarena user's home directory is /var/games/openarena-server, so you can find OA files in the /var/games/openarena-server/.openarena directory. By default, the init script will use /usr/lib/games/openarena/baseoa/debian_server.cfg, which is a symlink to /etc/openarena-server/server.cfg. You can edit this file, or put an alternative configuration in /var/games/openarena-server/.openarena/baseoa and change /etc/default/openarena-server to exec that. Disabling the init script ------------------------- To disable the init script, use the facilities provided by your init system. For instance, under sysvinit, use update-rc.d openarena-server disable or under systemd, use ln -s /dev/null /etc/systemd/system/openarena-server.service Changing the value of the START_DAEMON variable in /etc/default/openarena-server is deprecated. Please leave it set to "unless-disabled-by-upgrade". Running the server with cron and screen --------------------------------------- One alternative way to run the server is to run it in a screen(1) session from a cron @reboot action. This can be used to run multiple instances of the server; you'll need to set a different net_port on each server after the first, and it's safest to give each server a unique fs_homepath so they don't overwrite each other's configuration files. To do this, you could put something like this in the Debian-openarena user's crontab (don't break the long lines!): @reboot screen -d -m -S ffa /usr/games/openarena-server +set fs_homepath /var/games/openarena-server/ffa +exec ffa.cfg @reboot screen -d -m -S ctf /usr/games/openarena-server +set fs_homepath /var/games/openarena-server/ctf +set net_port 54321 +exec ctf.cfg or in /etc/crontab or a file in /etc/cron.d: @reboot Debian-openarena screen -d -m -S ffa /usr/games/openarena-server +set fs_homepath /var/games/openarena-server/ffa +exec ffa.cfg @reboot Debian-openarena screen -d -m -S ctf /usr/games/openarena-server +set fs_homepath /var/games/openarena-server/ctf +set net_port 54321 +exec ctf.cfg If you do that, you can access the servers' consoles by attaching a screen session to them: sudo -u Debian-openarena screen -r ffa sudo -u Debian-openarena screen -r ctf debian/openarena-server.default0000644000000000000000000000133012143670275014014 0ustar # Defaults for OpenArena init script # sourced by /etc/init.d/openarena-server # installed at /etc/default/openarena-server by the maintainer scripts # To disable the server, please use the normal mechanisms provided by init: # see /usr/share/doc/openarena-server/README.Debian.gz. Changing the value # of this variable is deprecated. START_DAEMON=unless-disabled-by-upgrade # Additional options that are passed to the daemon. # Add "+set dedicated 2" here, or "set dedicated 2" in server.cfg, if you want # your server advertised on the public server list. # # debian_server.cfg is a symlink to /etc/openarena-server/server.cfg, so you # can use that file for system-wide configuration. DAEMON_OPTS="+exec debian_server.cfg" debian/openarena-server.preinst0000644000000000000000000000131712143670275014061 0ustar #!/bin/sh set -e case "$1" in (upgrade) if dpkg --compare-versions "$2" lt 0.8.8; then def=/etc/default/openarena-server home=/var/games/openarena-server inhibit=$home/init-script-disabled-by-upgrade if test -e $def && grep '^START_DAEMON=1$' $def; then echo "Not disabling openarena-server init script (previously enabled in $def)" >&2 else echo "Disabling openarena-server init script (previously disabled in $def)" >&2 echo "Remove $inhibit to restore normal behaviour." install -d $home touch $inhibit fi fi ;; (install|abort-upgrade) ;; *) echo "preinst called with unknown argument '$1'" >&2 exit 1 ;; esac #DEBHELPER#