debian/0000755000000000000000000000000011652065205007170 5ustar debian/control0000644000000000000000000000142611652064561010602 0ustar Source: vectoroids Section: games Priority: optional Maintainer: Christian T. Steigies Build-Depends: debhelper (>= 8.0.0), libsdl1.2-dev (>=1.2.2-3.3), libsdl-image1.2-dev (>=1.2.1-1.1), libsdl-mixer1.2-dev (>=1.2.1-2.2) Standards-Version: 3.9.2 Package: vectoroids Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: vector-based rock-shooting "Vectoroids" is a vector-based rock-shooting game similar to the arcade classic "Asteroids." Pilot a spaceship and destroy asteroids by shooting them into smaller and smaller pieces while trying to avoid being smashed or shot by UFOs. . "Vectoroids" is an SDL game based on the source for "Agendaroids," an X-Window game written for the Agenda VR3 Linux-based PDA written by the same author. debian/compat0000644000000000000000000000000211652064561010372 0ustar 8 debian/menu0000644000000000000000000000027211652064561010064 0ustar ?package(vectoroids):\ needs="x11" \ section="Games/Action" \ title="vectoroids" \ command="/usr/games/vectoroids --fullscreen" \ icon="/usr/share/pixmaps/vectoroids-icon.xpm" debian/changelog0000644000000000000000000000662211652064561011054 0ustar vectoroids (1.1.0-11) unstable; urgency=low * repackage with debhelper 8 * Switch to dpkg-source 3.0 (quilt) format * updated Standards-Version to 3.9.2 (no changes) -- Christian T. Steigies Wed, 26 Oct 2011 21:49:21 +0200 vectoroids (1.1.0-10) unstable; urgency=low * do not call obsolete dh_desktop * add ${misc:Depends} to binary package's debian/control entry * updated Standards-Version to 3.8.3 (no changes) -- Christian T. Steigies Tue, 06 Oct 2009 22:20:54 +0200 vectoroids (1.1.0-9) unstable; urgency=low * install a desktop file (closes: #478946) -- Christian T. Steigies Sun, 15 Jun 2008 18:21:21 +0200 vectoroids (1.1.0-8) unstable; urgency=low * updated Standards-Version to 3.7.3, use section Games/Action according to the menu policy * do not ignore make clean error * use debian/compat and use compat version 5 * call dh_desktop -- Christian T. Steigies Fri, 21 Mar 2008 23:55:24 +0100 vectoroids (1.1.0-7) unstable; urgency=low * include .desktop file from Cliff Cunnington (closes: #405806) * updated Standards-Version to 3.7.2 (no changes) -- Christian T. Steigies Sat, 6 Jan 2007 18:32:27 +0100 vectoroids (1.1.0-6) unstable; urgency=low * updated watch file * updated Standards-Version to 3.7.0 (no changes) * use current debhelper -- Christian T. Steigies Thu, 4 May 2006 06:51:04 +0000 vectoroids (1.1.0-5) unstable; urgency=low * use TARGET in rules * dh_compat=4 * install menu icon to /usr/share/pixmaps * updated Standards-Version to 3.6.1.0 (no changes) * copyright is with the author -- Christian T. Steigies Sun, 13 Mar 2005 16:28:58 +0100 vectoroids (1.1.0-4) unstable; urgency=low * updated debian/watch file for new location of upstream source -- Christian T. Steigies Fri, 31 Oct 2003 09:36:48 -0500 vectoroids (1.1.0-3) unstable; urgency=low * remove .xvpics directory in clean target -- Christian T. Steigies Fri, 1 Aug 2003 20:23:24 -0400 vectoroids (1.1.0-2) unstable; urgency=low * apply patch from Steve Kemp to fix buffer overflow (closes: #203255) -- Christian T. Steigies Mon, 28 Jul 2003 23:51:15 -0400 vectoroids (1.1.0-1) unstable; urgency=low * New upstream release -- Christian T. Steigies Mon, 4 Nov 2002 09:54:18 -0500 vectoroids (1.0.9-1) unstable; urgency=low * new upstream version -- Christian T. Steigies Thu, 30 May 2002 00:03:09 -0400 vectoroids (1.0.8-1) unstable; urgency=low * new upstream version -- Christian T. Steigies Sun, 14 Apr 2002 18:34:38 -0400 vectoroids (1.0.7-2) unstable; urgency=low * improve description (closes: #129138) * versioned Build-Depends for SDL libraries -- Christian T. Steigies Mon, 14 Jan 2002 23:13:42 -0500 vectoroids (1.0.7-1) unstable; urgency=low * New upstream version * Real initial upload (closes: #127557). -- Christian T. Steigies Thu, 3 Jan 2002 21:18:48 -0500 vectoroids (1.0.6-1) unstable; urgency=low * New upstream version * Initial upload. -- Christian T. Steigies Wed, 2 Jan 2002 19:58:09 -0500 vectoroids (1.0.5-1) unstable; urgency=low * Initial Release. -- Christian T. Steigies Wed, 5 Dec 2001 23:01:48 -0500 debian/rules0000755000000000000000000000125211652064561010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_clean: dh_auto_clean -rm -rf data/images/.xvpics override_dh_auto_build: make -j1 DATA_PREFIX=/usr/share/games/vectoroids/ override_dh_auto_install: make install \ DESTDIR=/debian/vectoroids \ BIN_PREFIX=debian/vectoroids/usr/games \ MAN_PREFIX=debian/vectoroids/usr/share \ DATA_PREFIX=debian/vectoroids/usr/share/games/vectoroids install -D -m 644 debian/vectoroids-icon.xpm debian/vectoroids/usr/share/pixmaps/ install -D -m 644 debian/vectoroids.desktop debian/vectoroids/usr/share/applications/ debian/dirs0000644000000000000000000000006211652064561010056 0ustar usr/games usr/share/pixmaps usr/share/applicationsdebian/watch0000644000000000000000000000047011652064561010226 0ustar # format version number, currently 2; this line is compulsory! version=2 # Site Directory Pattern Version Script #ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/src/vectoroids-([\d\.]+)\.tar\.gz debian uupdate ftp://ftp.billsgames.com/unix/x/vectoroids/src/vectoroids-([\d\.]+)\.tar\.gz debian uupdatedebian/source/0000755000000000000000000000000011652064561010474 5ustar debian/source/format0000644000000000000000000000001411652064561011702 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000001311652064561010041 0ustar README.txt debian/copyright0000644000000000000000000000072311652064561011131 0ustar This package was debianized by Christian T. Steigies on Wed, 5 Dec 2001 23:01:48 -0500. It was downloaded from http://www.newbreedsoftware.com/vectoroids/ Upstream Author: Bill Kendrick Copyright (c) 2001 - 2002 Bill Kendrick Vectoriods is distributed under the GNU GENERAL PUBLIC LICENSE. On Debian GNU/Linux systems, the complete text of the GNU General Public License is found in /usr/share/common-licenses/GPL'. debian/patches/0000755000000000000000000000000011652064561010623 5ustar debian/patches/0001_buffer-overflow0000644000000000000000000000160011652064561014315 0ustar Description: Buffer overflow in vectoroids Whilst performing a minimal source code audit of vectoroids I discovered that it contains a buffer overflow condition - because it doesn't test the length of one of the environmental variables it uses. Bug-Debian: http://bugs.debian.org/203255 Author: Steve Kemp Reviewed-by: Christian T. Steigies Last-Update: 2003-07-28 --- a/vectoroids.c +++ b/vectoroids.c @@ -596,8 +596,12 @@ #ifndef _WIN32 /* snprintf(statefile, sizeof(statefile), "%s/.vectoroids-state", getenv("HOME")); */ - sprintf(statefile, "%s/.vectoroids-state", - getenv("HOME")); + if (getenv("HOME") != NULL ) + { + memset(statefile, '\0', sizeof(statefile)); + snprintf(statefile,sizeof(statefile)-1, "%s/.vectoroids-state", + getenv("HOME")); + } #else sprintf(statefile, "vectoroids-state.dat"); #endif debian/patches/series0000644000000000000000000000002511652064561012035 0ustar 0001_buffer-overflow debian/vectoroids-icon.xpm0000644000000000000000000000260511652064561013034 0ustar /* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "32 32 11 1", " c black", ". c #191919", "X c gray20", "o c #00007f", "O c #4c4c4c", "+ c #666667", "@ c gray50", "# c blue", "$ c gray60", "% c #b2b2b2", "& c None", /* pixels */ "&&&& &&& &&&&&&&&&&&&&& &&&&&&&&", "&& &&XOX&&&&&&&&&&& XO& &&&&&", "&& &+@X$O& &&&&& &.+++&&&&&&&&", "&&& @ &.+&.&&&&&&&&+@O X+++. &", "& &+O& .+& &&&&&..+@ &&+OOX&&&&", "& &@. @O& &&&& @++ && &&X$XXX.", "& &X@&&+&&&&&&&.+&&&&&&& &X$++X", "&& &.+++ &&&&& XO &&&&&& &. O.", "&&& &. &&&&&&& &XX& &&&&&& & O.", "&&&&&&&&&&&&&&& +O& &&&&&& OO&", "&&&&&&&&&&&&&& &.@. &&&&&& &XO ", "&&&&&&&&&&&&&& &XO& &&&&& .+@X&", "&&&&&&&&&& .&& &.$.&.&&&&&&&+ &", "&&&&&&&&& &&&&&.&XO& &&&.XXO+& &", "&&&&&&&& &o#&&& &OX& &.@OXX& &", "&&&&&&& X$$ && &.$.&&& .O&&&&&&", "&&&&&&& &#o@.&&& O++X &.+ &&&", "&&&&&& &O$X#.&&&&&&&O@+XOX &&&&", "&&&&& &O$o&@.&&&&& & XOX& &&&&&", "&&&& &#.&.#.&&&&&&& &&&& &&&&&&", "&&& @$& &#.&&&&&&&& &&&&&&&", "&&&..##.. &$ &&&&&&&&&&&. &&&&&", "&& &o@. &#.&&&&&&&&& &&&&&&&&&", "&&& %o &&.&$.&&&&&&&& &.++X& &&&", " .#$&&.o&&#.&&&&&&& & ++.@. &&", ".&+#&oo$$o @.&&&&&& $.&&&+.&&&", " X$+$#o+o@&$.&&&&&& &O+ &O &&&", "&o#+o.&&o$.@ &&&&&& &XX & O$ &&&", "&& &&& . o@#.&&&&&&& O@.X$.& &&", "&&& & X#% &&&&&&&&&& OO.& &&&", "&&&&&&&& &#$ &&&&&&&&& & .& &&&&", "&&&&&&&& ..&&&&&&&&&&&&&& &&&&&" }; debian/vectoroids.desktop0000644000000000000000000000035011652064561012746 0ustar [Desktop Entry] Name=Vectoroids Comment=A clone of the classic arcade game "Asteroids" Exec=vectoroids --fullscreen Icon=/usr/share/pixmaps/vectoroids-icon.xpm Terminal=false Type=Application Categories=Application;Game;ArcadeGame;