r15601 - in packages/tags/gravitywars: . 1.102-34/debian 1.102-34/debian/patches
Markus Koschany
apo-guest at moszumanska.debian.org
Sat Nov 21 20:43:57 UTC 2015
Author: apo-guest
Date: 2015-11-21 20:43:56 +0000 (Sat, 21 Nov 2015)
New Revision: 15601
Added:
packages/tags/gravitywars/1.102-34/
packages/tags/gravitywars/1.102-34/debian/README.Debian
packages/tags/gravitywars/1.102-34/debian/changelog
packages/tags/gravitywars/1.102-34/debian/clean
packages/tags/gravitywars/1.102-34/debian/control
packages/tags/gravitywars/1.102-34/debian/copyright
packages/tags/gravitywars/1.102-34/debian/dirs
packages/tags/gravitywars/1.102-34/debian/docs
packages/tags/gravitywars/1.102-34/debian/gravitywars.6
packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop
packages/tags/gravitywars/1.102-34/debian/install
packages/tags/gravitywars/1.102-34/debian/patches/040_hardening.patch
packages/tags/gravitywars/1.102-34/debian/patches/series
packages/tags/gravitywars/1.102-34/debian/postinst
packages/tags/gravitywars/1.102-34/debian/postrm
packages/tags/gravitywars/1.102-34/debian/rules
Removed:
packages/tags/gravitywars/1.102-34/debian/README.Debian
packages/tags/gravitywars/1.102-34/debian/changelog
packages/tags/gravitywars/1.102-34/debian/control
packages/tags/gravitywars/1.102-34/debian/copyright
packages/tags/gravitywars/1.102-34/debian/docs
packages/tags/gravitywars/1.102-34/debian/gravitywars.6
packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop
packages/tags/gravitywars/1.102-34/debian/install
packages/tags/gravitywars/1.102-34/debian/patches/series
packages/tags/gravitywars/1.102-34/debian/postinst
packages/tags/gravitywars/1.102-34/debian/postrm
packages/tags/gravitywars/1.102-34/debian/rules
Log:
[svn-buildpackage] Tagging gravitywars 1.102-34
Deleted: packages/tags/gravitywars/1.102-34/debian/README.Debian
===================================================================
--- packages/trunk/gravitywars/debian/README.Debian 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/README.Debian 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,20 +0,0 @@
-Notes for Gravity Wars
-======================
-
-SVGAlib
--------
- Gravity Wars no longer uses SVGAlib directly. Instead, it uses the
-more portable SDL library. However, on x86 systems, you can still use
-the SVGAlib backend of SDL by calling the game accordingly, as root or
-with root privileges:
-
- SDL_VIDEODRIVER=svgalib gravitywars
-
-Speed
------
- The game is slow on non-8bpp displays because SDL needs to convert its
-internal 8bpp display to the screen depth. Little can be done about that
-except rewriting huge parts of the game, so please run the game on a 256
-color display if you experience speed issues.
-
- -- Sam Hocevar <sho at debian.org> Sat, 26 Apr 2003 10:31:06 +0200
Copied: packages/tags/gravitywars/1.102-34/debian/README.Debian (from rev 15600, packages/trunk/gravitywars/debian/README.Debian)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/README.Debian (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/README.Debian 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,20 @@
+Notes for Gravity Wars
+======================
+
+SVGAlib
+-------
+ Gravity Wars no longer uses SVGAlib directly. Instead, it uses the
+more portable SDL library. However, on x86 systems, you can still use
+the SVGAlib backend of SDL by calling the game accordingly, as root or
+with root privileges:
+
+ SDL_VIDEODRIVER=svgalib gravitywars
+
+Speed
+-----
+ The game is slow on non-8bpp displays because SDL needs to convert its
+internal 8bpp display to the screen depth. Little can be done about that
+except rewriting huge parts of the game, so please run the game on a 256
+color display if you experience speed issues.
+
+ -- Sam Hocevar <sam at zoy.org> Sat, 26 Apr 2003 10:31:06 +0200
Deleted: packages/tags/gravitywars/1.102-34/debian/changelog
===================================================================
--- packages/trunk/gravitywars/debian/changelog 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/changelog 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,286 +0,0 @@
-gravitywars (1.102-33) UNRELEASED; urgency=low
-
- [ Barry deFreese ]
- * Install xpm icon in correct dir. (Closes: #527745).
- * Move to dh style rules.
- * Move to source format 3.0 (quilt).
- * Bump debhelper build-dep and compat to 9.
- * Bump Standards Version to 3.9.4.
-
-** Currently doesn't ship /var/games/high score file. Should be fixed.
-
- [ Evgeni Golov ]
- * Correct Vcs-* URLs to point to anonscm.debian.org
-
- -- Barry deFreese <bdefreese at debian.org> Fri, 07 Jun 2013 06:17:48 -0400
-
-gravitywars (1.102-32) unstable; urgency=low
-
- [ Barry deFreese ]
- * Add myself to uploaders.
- * Add desktop file (Closes: #452576)
- * debian/rules - Remove -s option from install (Closes: #437080)
- * Don't ignore make clean errors
- * 020_sdl_joystick.diff - Add joystick support. (Closes: #508933).
- + Thanks to Titon Barua for the patch.
- * Add -j option to manpage for calibrating the joystick.
- * 030_ucase_password.diff - Allow upper case password. (Closes: #522861).
- + Thanks to Steve Cotton for the patch!
- * Version link to GPL license in copyright.
- * Add appropriate copyright holder to debian/copyright.
- * Remove quilt .pc dir on clean.
- * Bump Standards Version to 3.8.1. (No changes needed).
-
- [ Ansgar Burchardt ]
- * debian/control: Change XS-Vcs-* to Vcs-*
-
- -- Barry deFreese <bdefreese at debian.org> Mon, 06 Apr 2009 14:01:48 -0400
-
-gravitywars (1.102-31) unstable; urgency=low
-
- [ Sam Hocevar (Debian packages) ]
- * debian/control:
- + Fixed the maintainer field.
- + Added Vcs fields.
- * debian/compat:
- + Set level to 5.
-
- [ Jon Dowland ]
- * update menu section to "Games/Action" for menu transition
- (thanks Linas Žvirblis)
-
- -- Jon Dowland <jon at alcopop.org> Thu, 12 Jul 2007 11:30:07 +0100
-
-gravitywars (1.102-30) unstable; urgency=low
-
- * Moved packaging to the Debian Games Team.
- * Use quilt for patch management.
- * debian/control:
- + Set policy to 3.7.2.
- + Build-depend on quilt.
- + Enhanced the long description and clarified that Gravity Wars is merely
- inspired by, not based on, Gravity Force, and that there is no longer
- an upstream website for it (Closes: #348278).
- + Removed deprecated suidmanager conflict.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Tue, 16 May 2006 03:57:51 +0200
-
-gravitywars (1.102-29) unstable; urgency=low
-
- * debian/control:
- + Set policy to 3.6.2.1.
- * debian/postinst:
- + Properly use dpkg-statoverride.
- + Fix deprecated use of chown.
- * Makefile:
- + Compile with -g -O2 instead of -O3 -funroll-loops (Closes: #295695).
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Sat, 12 Nov 2005 13:07:17 +0100
-
-gravitywars (1.102-28) unstable; urgency=low
-
- * debian/control:
- + Set policy to 3.6.1.1.
- * moveship.c:
- + Fixed build with gcc-3.4, thanks to Andreas Jochens (Closes: #258737).
- + Fixed other warnings.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Sun, 11 Jul 2004 11:48:51 +0200
-
-gravitywars (1.102-27) unstable; urgency=low
-
- * debian/control:
- + Build-depend on libsdl1.2-dev (>= 1.2.5-8) because 1.2.5-7 had a broken
- shlibs file.
- + Removed the build-dependency on dpkg-dev since it is in build-essential.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Thu, 12 Jun 2003 13:31:00 +0200
-
-gravitywars (1.102-26) unstable; urgency=low
-
- * debian/control:
- + Set policy to 3.5.10.
- + Removed the leading "a" in the package description.
- + Removed ${misc:Depends} in the Depends field.
-
- -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Fri, 30 May 2003 18:58:03 +0200
-
-gravitywars (1.102-25) unstable; urgency=low
-
- * Fixed debian/rules so that 'dpkg-buildpackage -B' works and the binary
- dependencies are correct (Closes: #191460).
-
- -- Samuel Hocevar <sam at zoy.org> Thu, 1 May 2003 16:21:53 +0200
-
-gravitywars (1.102-24) unstable; urgency=low
-
- * New maintainer (Closes: #149933).
- * Updated policy to 3.5.9.0.
- * Reduced the huge console splash message to two lines.
- * Ported the code to use SDL instead of svgalib (Closes: #159003). Package
- is now Arch: any, and binary is no longer setuid root.
- * Moved architecture-independant data from /usr/lib to /usr/share.
- * We use dpkg-statoverride instead of shipping a setgid binary.
- * Added switch to fullscreen using the 'f' key.
- * Added a "keys" section to the manpage.
- * Drew an icon for gravitywars.
-
- -- Samuel Hocevar <sam at zoy.org> Tue, 22 Apr 2003 19:43:57 +0200
-
-gravitywars (1.102-23) unstable; urgency=low
-
- * Debhelper v4.
- * Orphaned the package, as I have no systems left that have working svga,
- and so have no way or playing the game. :-(
-
- -- Joey Hess <joeyh at debian.org> Thu, 13 Jun 2002 17:56:20 -0400
-
-gravitywars (1.102-22) unstable; urgency=low
-
- * Since only i386 has svgalib now, I'm making this package be Arch: i386
-
- -- Joey Hess <joeyh at debian.org> Tue, 3 Apr 2001 15:04:12 -0700
-
-gravitywars (1.102-21) unstable; urgency=low
-
- * Re-added *.obj files, which were accidentually removed when the package
- was put in cvs. They are not object files in the sense cvs-inject
- thought.. Closes: #92664
-
- -- Joey Hess <joeyh at debian.org> Tue, 3 Apr 2001 14:27:25 -0700
-
-gravitywars (1.102-20) unstable; urgency=low
-
- * Retry..
- * Modified one refernece to /var/lib/games, Closes: #81988
- Oddly, the other reference that was patched in the bug report
- was already using /var/games in my released sources.
-
- -- Joey Hess <joeyh at debian.org> Thu, 11 Jan 2001 23:06:51 -0800
-
-gravitywars (1.102-18) unstable; urgency=low
-
- * Transition to statoverride.
-
- -- Joey Hess <joeyh at debian.org> Wed, 10 Jan 2001 14:52:38 -0800
-
-gravitywars (1.102-17) unstable; urgency=low
-
- * Modified to use FHS /var/games.
-
- -- Joey Hess <joeyh at debian.org> Sun, 5 Nov 2000 16:47:02 -0800
-
-gravitywars (1.102-16) unstable; urgency=low
-
- * It seems that when I imported it into cvs, cvs-inject didn't apply
- any of the debian patches. Quite weird, and of course this made it
- not understand FHS layout at all. Hand-applied the patches,
- Closes: #76069
-
- -- Joey Hess <joeyh at debian.org> Wed, 1 Nov 2000 20:46:17 -0800
-
-gravitywars (1.102-15) unstable; urgency=low
-
- * New, no, make that old maintainer. Edward made it free, now I don't
- mind maintaining it again.
-
- -- Joey Hess <joeyh at debian.org> Tue, 31 Oct 2000 14:39:40 -0800
-
-gravitywars (1.102-14) unstable; urgency=low
-
- * New maintainer. (Closes: Bug#68641)
- * Email conversation with author.
- * Changed the authors email address.
- * Licence changed from not-for-profit, to GPL.
- * Updated to Standard-Version: 3.2.0.
-
- -- Edward Betts <edward at debian.org> Fri, 11 Aug 2000 01:04:38 +0100
-
-gravitywars (1.102-13) unstable; urgency=low
-
- * Orphaned the package, I don't maintain non-free things anymore.
-
- -- Joey Hess <joeyh at master.debian.org> Thu, 18 Mar 1999 14:56:45 -0800
-
-gravitywars (1.102-12) unstable; urgency=low
-
- * Built with latest debhelper to change how the suid binary is registered.
-
- -- Joey Hess <joeyh at master.debian.org> Tue, 27 Oct 1998 21:41:09 -0800
-
-gravitywars (1.102-11) unstable; urgency=low
-
- * Fixed == bashism.
-
- -- Joey Hess <joeyh at master.debian.org> Thu, 20 Aug 1998 00:47:45 -0700
-
-gravitywars (1.102-10) unstable; urgency=low
-
- * Removed icon=none from menu file.
-
- -- Joey Hess <joeyh at master.debian.org> Wed, 5 Aug 1998 14:27:24 -0700
-
-gravitywars (1.102-9) frozen unstable; urgency=low
-
- * Fixed postrm to call update-menus.
-
- -- Joey Hess <joeyh at master.debian.org> Mon, 13 Apr 1998 23:32:07 -0700
-
-gravitywars (1.102-8) unstable; urgency=low
-
- * Rebuilt with a newer svgalib so it will not depend on the -dummy package
- now.
- * Made high score file not be a conffile.
-
- -- Joey Hess <joeyh at master.debian.org> Fri, 13 Mar 1998 13:11:00 -0800
-
-gravitywars (1.102-7) unstable; urgency=low
-
- * Wrote a man page.
- * Modified gravitywars so it does not drop its sgid games permissions,
- (svgalib gives up sgid by default), which lets me fix the permissions
- of the score file.
-
- -- Joey Hess <joeyh at master.debian.org> Sun, 22 Feb 1998 18:44:49 -0800
-
-gravitywars (1.102-6) unstable; urgency=low
-
- * Updated standards-version.
-
- -- Joey Hess <joeyh at master.debian.org> Mon, 9 Feb 1998 14:17:34 -0800
-
-gravitywars (1.102-5) unstable; urgency=low
-
- * Reupload.
-
- -- Joey Hess <joeyh at master.debian.org> Tue, 18 Nov 1997 13:36:12 -0500
-
-gravitywars (1.102-4) unstable; urgency=low
-
- * Not DFSG-free, so moved to non-free (#14958).
- * Use debhelper.
-
- -- Joey Hess <joeyh at master.debian.org> Sun, 16 Nov 1997 19:08:03 -0500
-
-gravitywars (1.102-3) unstable; urgency=low
-
- * Rebuilt with libc6.
- * Routine update of debian/rules:
- Fakeroot and sudo fixes.
-
- -- Joey Hess <joeyh at master.debian.org> Sun, 10 Aug 1997 19:05:06 -0400
-
-gravitywars (1.102-2) unstable; urgency=low
-
- * Rebuilt to fix name of upstream changelog.
- * Update to menu-1 format, moved entry out of Apps into Games.
- * Routine update of debian/rules:
- Run dpkg-gencontrol after debstd, and delete substvars during clean.
-
- -- Joey Hess <joeyh at master.debian.org> Fri, 9 May 1997 12:38:01 -0400
-
-gravitywars (1.102-1) unstable; urgency=low
-
- * First release.
-
- -- Joey Hess <joeyh at master.debian.org> Mon, 6 Jan 1997 14:48:08 -0500
Copied: packages/tags/gravitywars/1.102-34/debian/changelog (from rev 15600, packages/trunk/gravitywars/debian/changelog)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/changelog (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/changelog 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,305 @@
+gravitywars (1.102-34) unstable; urgency=medium
+
+ * Team upload.
+ * Install gravitywars.xpm to /usr/share/pixmaps, so that the icon is
+ displayed by all menu systems. Thanks to Michael Terry for the report.
+ (Closes: #527745)
+ * Switch to source format 3.0 (quilt).
+ * gravitywars.desktop: Add keywords and a comment in German.
+ * menu: Adjust the icon path.
+ * wrap-and-sort -sa.
+ * Declare compliance with Debian Policy 3.9.6.
+ * Use compat level 9 and require debhelper >= 9.
+ * Use canonical Vcs-URI.
+ * Remove quilt from Build-Depends because source format 3.0 uses quilt by
+ default.
+ * d/control: Add ${misc:Depends} substvar.
+ * Rewrite debian/rules and switch to dh sequencer.
+ * Install man page with manpages file.
+ * Install documentation with docs file.
+ * Create /var/games/gravitywars and /usr/games with dirs file.
+ * Install icons, data and the desktop file with install file.
+ * postrm: Use set -e.
+ * Remove GravityWars101 with clean file.
+ * Add hardening.patch and harden the binary.
+
+ -- Markus Koschany <apo at debian.org> Sat, 21 Nov 2015 21:27:21 +0100
+
+gravitywars (1.102-33) unstable; urgency=medium
+
+ * Team upload.
+ * Do not use the obsolete and incorrect full path to dpkg-statoverride.
+ Closes: #770062
+
+ -- Peter Pentchev <roam at ringlet.net> Sat, 29 Nov 2014 01:40:39 +0200
+
+gravitywars (1.102-32) unstable; urgency=low
+
+ [ Barry deFreese ]
+ * Add myself to uploaders.
+ * Add desktop file (Closes: #452576)
+ * debian/rules - Remove -s option from install (Closes: #437080)
+ * Don't ignore make clean errors
+ * 020_sdl_joystick.diff - Add joystick support. (Closes: #508933).
+ + Thanks to Titon Barua for the patch.
+ * Add -j option to manpage for calibrating the joystick.
+ * 030_ucase_password.diff - Allow upper case password. (Closes: #522861).
+ + Thanks to Steve Cotton for the patch!
+ * Version link to GPL license in copyright.
+ * Add appropriate copyright holder to debian/copyright.
+ * Remove quilt .pc dir on clean.
+ * Bump Standards Version to 3.8.1. (No changes needed).
+
+ [ Ansgar Burchardt ]
+ * debian/control: Change XS-Vcs-* to Vcs-*
+
+ -- Barry deFreese <bdefreese at debian.org> Mon, 06 Apr 2009 14:01:48 -0400
+
+gravitywars (1.102-31) unstable; urgency=low
+
+ [ Sam Hocevar (Debian packages) ]
+ * debian/control:
+ + Fixed the maintainer field.
+ + Added Vcs fields.
+ * debian/compat:
+ + Set level to 5.
+
+ [ Jon Dowland ]
+ * update menu section to "Games/Action" for menu transition
+ (thanks Linas Žvirblis)
+
+ -- Jon Dowland <jon at alcopop.org> Thu, 12 Jul 2007 11:30:07 +0100
+
+gravitywars (1.102-30) unstable; urgency=low
+
+ * Moved packaging to the Debian Games Team.
+ * Use quilt for patch management.
+ * debian/control:
+ + Set policy to 3.7.2.
+ + Build-depend on quilt.
+ + Enhanced the long description and clarified that Gravity Wars is merely
+ inspired by, not based on, Gravity Force, and that there is no longer
+ an upstream website for it (Closes: #348278).
+ + Removed deprecated suidmanager conflict.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Tue, 16 May 2006 03:57:51 +0200
+
+gravitywars (1.102-29) unstable; urgency=low
+
+ * debian/control:
+ + Set policy to 3.6.2.1.
+ * debian/postinst:
+ + Properly use dpkg-statoverride.
+ + Fix deprecated use of chown.
+ * Makefile:
+ + Compile with -g -O2 instead of -O3 -funroll-loops (Closes: #295695).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Sat, 12 Nov 2005 13:07:17 +0100
+
+gravitywars (1.102-28) unstable; urgency=low
+
+ * debian/control:
+ + Set policy to 3.6.1.1.
+ * moveship.c:
+ + Fixed build with gcc-3.4, thanks to Andreas Jochens (Closes: #258737).
+ + Fixed other warnings.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Sun, 11 Jul 2004 11:48:51 +0200
+
+gravitywars (1.102-27) unstable; urgency=low
+
+ * debian/control:
+ + Build-depend on libsdl1.2-dev (>= 1.2.5-8) because 1.2.5-7 had a broken
+ shlibs file.
+ + Removed the build-dependency on dpkg-dev since it is in build-essential.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Thu, 12 Jun 2003 13:31:00 +0200
+
+gravitywars (1.102-26) unstable; urgency=low
+
+ * debian/control:
+ + Set policy to 3.5.10.
+ + Removed the leading "a" in the package description.
+ + Removed ${misc:Depends} in the Depends field.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Fri, 30 May 2003 18:58:03 +0200
+
+gravitywars (1.102-25) unstable; urgency=low
+
+ * Fixed debian/rules so that 'dpkg-buildpackage -B' works and the binary
+ dependencies are correct (Closes: #191460).
+
+ -- Samuel Hocevar <sam at zoy.org> Thu, 1 May 2003 16:21:53 +0200
+
+gravitywars (1.102-24) unstable; urgency=low
+
+ * New maintainer (Closes: #149933).
+ * Updated policy to 3.5.9.0.
+ * Reduced the huge console splash message to two lines.
+ * Ported the code to use SDL instead of svgalib (Closes: #159003). Package
+ is now Arch: any, and binary is no longer setuid root.
+ * Moved architecture-independant data from /usr/lib to /usr/share.
+ * We use dpkg-statoverride instead of shipping a setgid binary.
+ * Added switch to fullscreen using the 'f' key.
+ * Added a "keys" section to the manpage.
+ * Drew an icon for gravitywars.
+
+ -- Samuel Hocevar <sam at zoy.org> Tue, 22 Apr 2003 19:43:57 +0200
+
+gravitywars (1.102-23) unstable; urgency=low
+
+ * Debhelper v4.
+ * Orphaned the package, as I have no systems left that have working svga,
+ and so have no way or playing the game. :-(
+
+ -- Joey Hess <joeyh at debian.org> Thu, 13 Jun 2002 17:56:20 -0400
+
+gravitywars (1.102-22) unstable; urgency=low
+
+ * Since only i386 has svgalib now, I'm making this package be Arch: i386
+
+ -- Joey Hess <joeyh at debian.org> Tue, 3 Apr 2001 15:04:12 -0700
+
+gravitywars (1.102-21) unstable; urgency=low
+
+ * Re-added *.obj files, which were accidentually removed when the package
+ was put in cvs. They are not object files in the sense cvs-inject
+ thought.. Closes: #92664
+
+ -- Joey Hess <joeyh at debian.org> Tue, 3 Apr 2001 14:27:25 -0700
+
+gravitywars (1.102-20) unstable; urgency=low
+
+ * Retry..
+ * Modified one refernece to /var/lib/games, Closes: #81988
+ Oddly, the other reference that was patched in the bug report
+ was already using /var/games in my released sources.
+
+ -- Joey Hess <joeyh at debian.org> Thu, 11 Jan 2001 23:06:51 -0800
+
+gravitywars (1.102-18) unstable; urgency=low
+
+ * Transition to statoverride.
+
+ -- Joey Hess <joeyh at debian.org> Wed, 10 Jan 2001 14:52:38 -0800
+
+gravitywars (1.102-17) unstable; urgency=low
+
+ * Modified to use FHS /var/games.
+
+ -- Joey Hess <joeyh at debian.org> Sun, 5 Nov 2000 16:47:02 -0800
+
+gravitywars (1.102-16) unstable; urgency=low
+
+ * It seems that when I imported it into cvs, cvs-inject didn't apply
+ any of the debian patches. Quite weird, and of course this made it
+ not understand FHS layout at all. Hand-applied the patches,
+ Closes: #76069
+
+ -- Joey Hess <joeyh at debian.org> Wed, 1 Nov 2000 20:46:17 -0800
+
+gravitywars (1.102-15) unstable; urgency=low
+
+ * New, no, make that old maintainer. Edward made it free, now I don't
+ mind maintaining it again.
+
+ -- Joey Hess <joeyh at debian.org> Tue, 31 Oct 2000 14:39:40 -0800
+
+gravitywars (1.102-14) unstable; urgency=low
+
+ * New maintainer. (Closes: Bug#68641)
+ * Email conversation with author.
+ * Changed the authors email address.
+ * Licence changed from not-for-profit, to GPL.
+ * Updated to Standard-Version: 3.2.0.
+
+ -- Edward Betts <edward at debian.org> Fri, 11 Aug 2000 01:04:38 +0100
+
+gravitywars (1.102-13) unstable; urgency=low
+
+ * Orphaned the package, I don't maintain non-free things anymore.
+
+ -- Joey Hess <joeyh at master.debian.org> Thu, 18 Mar 1999 14:56:45 -0800
+
+gravitywars (1.102-12) unstable; urgency=low
+
+ * Built with latest debhelper to change how the suid binary is registered.
+
+ -- Joey Hess <joeyh at master.debian.org> Tue, 27 Oct 1998 21:41:09 -0800
+
+gravitywars (1.102-11) unstable; urgency=low
+
+ * Fixed == bashism.
+
+ -- Joey Hess <joeyh at master.debian.org> Thu, 20 Aug 1998 00:47:45 -0700
+
+gravitywars (1.102-10) unstable; urgency=low
+
+ * Removed icon=none from menu file.
+
+ -- Joey Hess <joeyh at master.debian.org> Wed, 5 Aug 1998 14:27:24 -0700
+
+gravitywars (1.102-9) frozen unstable; urgency=low
+
+ * Fixed postrm to call update-menus.
+
+ -- Joey Hess <joeyh at master.debian.org> Mon, 13 Apr 1998 23:32:07 -0700
+
+gravitywars (1.102-8) unstable; urgency=low
+
+ * Rebuilt with a newer svgalib so it will not depend on the -dummy package
+ now.
+ * Made high score file not be a conffile.
+
+ -- Joey Hess <joeyh at master.debian.org> Fri, 13 Mar 1998 13:11:00 -0800
+
+gravitywars (1.102-7) unstable; urgency=low
+
+ * Wrote a man page.
+ * Modified gravitywars so it does not drop its sgid games permissions,
+ (svgalib gives up sgid by default), which lets me fix the permissions
+ of the score file.
+
+ -- Joey Hess <joeyh at master.debian.org> Sun, 22 Feb 1998 18:44:49 -0800
+
+gravitywars (1.102-6) unstable; urgency=low
+
+ * Updated standards-version.
+
+ -- Joey Hess <joeyh at master.debian.org> Mon, 9 Feb 1998 14:17:34 -0800
+
+gravitywars (1.102-5) unstable; urgency=low
+
+ * Reupload.
+
+ -- Joey Hess <joeyh at master.debian.org> Tue, 18 Nov 1997 13:36:12 -0500
+
+gravitywars (1.102-4) unstable; urgency=low
+
+ * Not DFSG-free, so moved to non-free (#14958).
+ * Use debhelper.
+
+ -- Joey Hess <joeyh at master.debian.org> Sun, 16 Nov 1997 19:08:03 -0500
+
+gravitywars (1.102-3) unstable; urgency=low
+
+ * Rebuilt with libc6.
+ * Routine update of debian/rules:
+ Fakeroot and sudo fixes.
+
+ -- Joey Hess <joeyh at master.debian.org> Sun, 10 Aug 1997 19:05:06 -0400
+
+gravitywars (1.102-2) unstable; urgency=low
+
+ * Rebuilt to fix name of upstream changelog.
+ * Update to menu-1 format, moved entry out of Apps into Games.
+ * Routine update of debian/rules:
+ Run dpkg-gencontrol after debstd, and delete substvars during clean.
+
+ -- Joey Hess <joeyh at master.debian.org> Fri, 9 May 1997 12:38:01 -0400
+
+gravitywars (1.102-1) unstable; urgency=low
+
+ * First release.
+
+ -- Joey Hess <joeyh at master.debian.org> Mon, 6 Jan 1997 14:48:08 -0500
Copied: packages/tags/gravitywars/1.102-34/debian/clean (from rev 15600, packages/trunk/gravitywars/debian/clean)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/clean (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/clean 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1 @@
+GravityWars101
Deleted: packages/tags/gravitywars/1.102-34/debian/control
===================================================================
--- packages/trunk/gravitywars/debian/control 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/control 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,26 +0,0 @@
-Source: gravitywars
-Section: games
-Priority: optional
-Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Sam Hocevar <sho at debian.org>, Barry deFreese <bdefreese at debian.org>
-Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 9.0), quilt, libsdl1.2-dev (>= 1.2.5-8)
-Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/gravitywars
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/gravitywars/
-
-Package: gravitywars
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: clone of Gravity Force
- Gravity Wars is inspired by Gravity Force, one of the greatest games
- for the Amiga. This version is a little different, with a much higher
- resolution, and better graphics.
- .
- The aim of the game is to guide a spaceship using only thrust and
- orientation to the exit, fighting against gravity and inertia. It
- includes some new features like water, exploding doors, bonus objects,
- fans (ie. wind), and some other special effects like exploding bullets
- and splashing water.
- .
- Gravity Wars is no longer maintained upstream and this Debian package
- should be considered the current upstream version.
Copied: packages/tags/gravitywars/1.102-34/debian/control (from rev 15600, packages/trunk/gravitywars/debian/control)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/control (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/control 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,32 @@
+Source: gravitywars
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders:
+ Sam Hocevar (Debian packages) <sam+deb at zoy.org>,
+ Barry deFreese <bdefreese at debian.org>
+Standards-Version: 3.9.6
+Build-Depends:
+ debhelper (>= 9),
+ libsdl1.2-dev (>= 1.2.5-8)
+Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/gravitywars
+Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/gravitywars/
+
+Package: gravitywars
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: clone of Gravity Force
+ Gravity Wars is inspired by Gravity Force, one of the greatest games
+ for the Amiga. This version is a little different, with a much higher
+ resolution, and better graphics.
+ .
+ The aim of the game is to guide a spaceship using only thrust and
+ orientation to the exit, fighting against gravity and inertia. It
+ includes some new features like water, exploding doors, bonus objects,
+ fans (ie. wind), and some other special effects like exploding bullets
+ and splashing water.
+ .
+ Gravity Wars is no longer maintained upstream and this Debian package
+ should be considered the current upstream version.
Deleted: packages/tags/gravitywars/1.102-34/debian/copyright
===================================================================
--- packages/trunk/gravitywars/debian/copyright 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/copyright 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,20 +0,0 @@
-This is a Debian prepackaged version of the GravityWars game.
-
-This package was put together by Joey Hess <joeyh at master.debian.org>, using
-sources from the web page at:
- http://www.kuai.se/~sniemi/gwars.htm
-(This web page no longer exists.)
-
-Upstream Author: Sami Niemi <sami at niemi.com>
-
-Copyright: Copyright (C) 1995, 1996 Sami Niemi <sami at niemi.com>
-
-Edward Betts <edward at debian.org> Fri, 11 Aug 2000 01:00:00 +0100
-
-I had an email discussion with the author about licensing. I asked for the
-licence to be changed to something freer. He agreed to relicense it, and said
-the GPL could be used. The author offered to provide some paper documentation
-to say that the licence had changed, but I said that an email was sufficient.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL-2'.
Copied: packages/tags/gravitywars/1.102-34/debian/copyright (from rev 15600, packages/trunk/gravitywars/debian/copyright)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/copyright (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/copyright 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,20 @@
+This is a Debian prepackaged version of the GravityWars game.
+
+This package was put together by Joey Hess <joeyh at master.debian.org>, using
+sources from the web page at:
+ http://www.kuai.se/~sniemi/gwars.htm
+(This web page no longer exists.)
+
+Upstream Author: Sami Niemi <sami at niemi.com>
+
+Copyright: Copyright (C) 1995, 1996 Sami Niemi <sami at niemi.com>
+
+Edward Betts <edward at debian.org> Fri, 11 Aug 2000 01:00:00 +0100
+
+I had an email discussion with the author about licensing. I asked for the
+licence to be changed to something freer. He agreed to relicense it, and said
+the GPL could be used. The author offered to provide some paper documentation
+to say that the licence had changed, but I said that an email was sufficient.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
Copied: packages/tags/gravitywars/1.102-34/debian/dirs (from rev 15600, packages/trunk/gravitywars/debian/dirs)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/dirs (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/dirs 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,2 @@
+var/games/gravitywars
+usr/games
Deleted: packages/tags/gravitywars/1.102-34/debian/docs
===================================================================
--- packages/trunk/gravitywars/debian/docs 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/docs 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,3 +0,0 @@
-README
-README.announce
-README.joystick
Copied: packages/tags/gravitywars/1.102-34/debian/docs (from rev 15600, packages/trunk/gravitywars/debian/docs)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/docs (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/docs 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,2 @@
+README
+README.announce
Deleted: packages/tags/gravitywars/1.102-34/debian/gravitywars.6
===================================================================
--- packages/trunk/gravitywars/debian/gravitywars.6 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/gravitywars.6 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,43 +0,0 @@
-.TH GRAVITYWARS 6
-.SH NAME
-gravitywars \- clone of Gravity Force
-.SH SYNOPSIS
-.B gravitywars
-.I "[level-code]"
-.SH "DESCRIPTION"
-.BR gravitywars
-is a clone of Gravity Force, one of the greatest games for the Amiga. This
-version is a little different, with a much higher
-resolution, and better graphics. It also includes some new features
-like water, exploding doors, bonus objects, fans (ie. wind), and some
-other special effects like exploding bullets, and splashing water.
-.SH KEYS
-.TP
-.B Left, Right
-rotate the ship counterclockwise or clockwise
-.TP
-.B Up
-accelerate the ship
-.TP
-.B Ctrl
-fire the weapon
-.TP
-.B f
-toggle fullscreen mode
-.TP
-.B Esc
-exit the game
-.SH OPTIONS
-.TP
-.B level-code
-You'll receive this code after you complete a level, and can use it to warp
-directly to that level when the game starts.
-.B \-j
-Calibrate joystick. Use this option to calibrate the joystick.
-.SH AUTHOR
-.BR gravitywars
-was written by Sami Niemi <sami at niemi.com>.
-.P
-This manual page was written by Joey Hess,
-for the Debian GNU/Linux system, with updates
-from Sam Hocevar <sho at debian.org>.
Copied: packages/tags/gravitywars/1.102-34/debian/gravitywars.6 (from rev 15600, packages/trunk/gravitywars/debian/gravitywars.6)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/gravitywars.6 (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/gravitywars.6 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,43 @@
+.TH GRAVITYWARS 6
+.SH NAME
+gravitywars \- clone of Gravity Force
+.SH SYNOPSIS
+.B gravitywars
+.I "[level-code]"
+.SH "DESCRIPTION"
+.BR gravitywars
+is a clone of Gravity Force, one of the greatest games for the Amiga. This
+version is a little different, with a much higher
+resolution, and better graphics. It also includes some new features
+like water, exploding doors, bonus objects, fans (ie. wind), and some
+other special effects like exploding bullets, and splashing water.
+.SH KEYS
+.TP
+.B Left, Right
+rotate the ship counterclockwise or clockwise
+.TP
+.B Up
+accelerate the ship
+.TP
+.B Ctrl
+fire the weapon
+.TP
+.B f
+toggle fullscreen mode
+.TP
+.B Esc
+exit the game
+.SH OPTIONS
+.TP
+.B level-code
+You'll receive this code after you complete a level, and can use it to warp
+directly to that level when the game starts.
+.B \-j
+Calibrate joystick. Use this option to calibrate the joystick.
+.SH AUTHOR
+.BR gravitywars
+was written by Sami Niemi <sami at niemi.com>.
+.P
+This manual page was written by Joey Hess,
+for the Debian GNU/Linux system, with updates
+from Sam Hocevar <sam at zoy.org>.
Deleted: packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop
===================================================================
--- packages/trunk/gravitywars/debian/gravitywars.desktop 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Gravity Wars
-GenericName=gravitywars
-Comment=Test your skills against gravity
-Type=Application
-Exec=gravitywars
-Icon=gravitywars
-Terminal=false
-Categories=Game;ArcadeGame;
-
Copied: packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop (from rev 15600, packages/trunk/gravitywars/debian/gravitywars.desktop)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/gravitywars.desktop 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Gravity Wars
+GenericName=gravitywars
+Comment=Test your skills against gravity
+Comment[de]=Erprobe deine Fähigkeiten gegen die Schwerkraft
+Type=Application
+Exec=gravitywars
+Icon=gravitywars
+Terminal=false
+Categories=Game;ArcadeGame;
+Keywords=gravity;space;ship;arcade;
Deleted: packages/tags/gravitywars/1.102-34/debian/install
===================================================================
--- packages/trunk/gravitywars/debian/install 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/install 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,5 +0,0 @@
-data/* usr/share/games/gravitywars/data/
-levels/* usr/share/games/gravitywars/levels/
-debian/gravitywars.desktop usr/share/applications/
-debian/gravitywars.xpm usr/share/pixmaps
-
Copied: packages/tags/gravitywars/1.102-34/debian/install (from rev 15600, packages/trunk/gravitywars/debian/install)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/install (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/install 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,5 @@
+debian/gravitywars.desktop usr/share/applications
+debian/gravitywars.xpm usr/share/pixmaps
+data usr/share/games/gravitywars
+levels usr/share/games/gravitywars
+
Copied: packages/tags/gravitywars/1.102-34/debian/patches/040_hardening.patch (from rev 15600, packages/trunk/gravitywars/debian/patches/040_hardening.patch)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/patches/040_hardening.patch (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/patches/040_hardening.patch 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,31 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sat, 21 Nov 2015 20:56:21 +0100
+Subject: hardening
+
+Build the game with hardening build flags.
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index bfc9e71..3becd57 100644
+--- a/Makefile
++++ b/Makefile
+@@ -9,7 +9,7 @@ DEBUG=1
+ BINDIR=/usr/local/bin
+
+ ifeq (1,$(USE_SDL))
+-CFLAGS= -g -Wall -DUSE_SDL -DUSE_JOYSTICK `sdl-config --cflags`
++CFLAGS= -g -Wall -O2 -fstack-protector-strong -Wformat -Werror=format-security -DUSE_SDL -DUSE_JOYSTICK `sdl-config --cflags`
+ LIBS= -lm `sdl-config --libs`
+ else
+ CFLAGS= -O2 -Wall
+@@ -23,7 +23,7 @@ OBJECTS=memory.o macros.o misc.o water.o score.o hole.o bullet.o pixel.o \
+ control.o vgastubs.o GravityWars101.o
+
+ $(TARGET): $(OBJECTS)
+- $(CC) $(CFLAGS) $(OBJECTS) $(OBJECTS2) -o $(TARGET) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(OBJECTS2) -o $(TARGET) $(LIBS)
+
+ GravityWars101.o: GravityWars101.c config.h macros.h
+
Deleted: packages/tags/gravitywars/1.102-34/debian/patches/series
===================================================================
--- packages/trunk/gravitywars/debian/patches/series 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/patches/series 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,10 +0,0 @@
-000_author_contact.diff
-010_comments.diff
-010_c_syntax_fixes.diff
-010_data_paths.diff
-010_escape_exits_title.diff
-010_highscores.diff
-010_reduce_verbosity.diff
-010_sdl_port.diff
-020_sdl_joystick.diff
-030_ucase_password.diff
Copied: packages/tags/gravitywars/1.102-34/debian/patches/series (from rev 15600, packages/trunk/gravitywars/debian/patches/series)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/patches/series (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/patches/series 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,11 @@
+000_author_contact.diff
+010_comments.diff
+010_c_syntax_fixes.diff
+010_data_paths.diff
+010_escape_exits_title.diff
+010_highscores.diff
+010_reduce_verbosity.diff
+010_sdl_port.diff
+020_sdl_joystick.diff
+030_ucase_password.diff
+040_hardening.patch
Deleted: packages/tags/gravitywars/1.102-34/debian/postinst
===================================================================
--- packages/trunk/gravitywars/debian/postinst 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/postinst 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,61 +0,0 @@
-#!/bin/sh -e
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-PROG=/usr/games/gravitywars
-SCOREFILE=/var/games/gravitywars/hscore.gw
-
-case "$1" in
- configure)
- # Cancel my old stupid use of dpkg-statoverride
- if [ "$1" = "configure" ] && [ "$2" != "" ] &&
- dpkg --compare-versions "$2" le "1.102-28" &&
- [ -x /usr/sbin/dpkg-statoverride ] &&
- dpkg-statoverride --list "$PROG" >/dev/null
- then
- dpkg-statoverride --remove "$PROG"
- fi
-
- # Properly use statoverride
- if ! [ -x /usr/sbin/dpkg-statoverride ] || \
- ! dpkg-statoverride --list "$PROG" >/dev/null ; then
- chown root:games "$PROG"
- chmod 2755 "$PROG"
- fi
-
- # Move from old pre-FHS location if present.
- if [ -e /var/lib/games/gravitywars/hscore.gw ]; then
- mv -f /var/lib/games/gravitywars/hscore.gw $SCOREFILE
- rmdir -p /var/lib/games/gravitywars 2>/dev/null || true
- fi
-
- if [ ! -e "$SCOREFILE" ]; then
- touch "$SCOREFILE"
- fi
-
- # Make sure the file has the right permissions
- chown root:games $SCOREFILE
- chmod 664 $SCOREFILE
-
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
Copied: packages/tags/gravitywars/1.102-34/debian/postinst (from rev 15600, packages/trunk/gravitywars/debian/postinst)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/postinst (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/postinst 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,59 @@
+#!/bin/sh -e
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+PROG=/usr/games/gravitywars
+SCOREFILE=/var/games/gravitywars/hscore.gw
+
+case "$1" in
+ configure)
+ # Cancel my old stupid use of dpkg-statoverride
+ if [ "$1" = "configure" ] && [ "$2" != "" ] &&
+ dpkg --compare-versions "$2" le "1.102-28" &&
+ dpkg-statoverride --list "$PROG" >/dev/null
+ then
+ dpkg-statoverride --remove "$PROG"
+ fi
+
+ # Properly use statoverride
+ if ! dpkg-statoverride --list "$PROG" >/dev/null ; then
+ chown root:games "$PROG"
+ chmod 2755 "$PROG"
+ fi
+
+ # Move from old pre-FHS location if present.
+ if [ -e /var/lib/games/gravitywars/hscore.gw ]; then
+ mv -f /var/lib/games/gravitywars/hscore.gw $SCOREFILE
+ rmdir -p /var/lib/games/gravitywars 2>/dev/null || true
+ fi
+
+ if [ ! -e "$SCOREFILE" ]; then
+ touch "$SCOREFILE"
+ fi
+
+ # Make sure the file has the right permissions
+ chown root:games $SCOREFILE
+ chmod 664 $SCOREFILE
+
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
Deleted: packages/tags/gravitywars/1.102-34/debian/postrm
===================================================================
--- packages/trunk/gravitywars/debian/postrm 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/postrm 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,23 +0,0 @@
-#!/bin/sh -e
-
-PROG=/usr/games/gravitywars
-VARDIR=/var/games/gravitywars
-
-case "$1" in
- purge|remove)
- if dpkg-statoverride --list $PROG >/dev/null; then
- dpkg-statoverride --remove $PROG
- fi
- rm -f $VARDIR/hscore.gw
- rmdir -p $VARDIR 2>/dev/null || true
- ;;
- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
Copied: packages/tags/gravitywars/1.102-34/debian/postrm (from rev 15600, packages/trunk/gravitywars/debian/postrm)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/postrm (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/postrm 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,24 @@
+#!/bin/sh
+set -e
+
+PROG=/usr/games/gravitywars
+VARDIR=/var/games/gravitywars
+
+case "$1" in
+ purge|remove)
+ if dpkg-statoverride --list $PROG >/dev/null; then
+ dpkg-statoverride --remove $PROG
+ fi
+ rm -f $VARDIR/hscore.gw
+ rmdir -p $VARDIR 2>/dev/null || true
+ ;;
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
Deleted: packages/tags/gravitywars/1.102-34/debian/rules
===================================================================
--- packages/trunk/gravitywars/debian/rules 2015-11-15 16:10:04 UTC (rev 15599)
+++ packages/tags/gravitywars/1.102-34/debian/rules 2015-11-21 20:43:56 UTC (rev 15601)
@@ -1,15 +0,0 @@
-#!/usr/bin/make -f
-
-%:
- dh $@
-
-override_dh_auto_build:
- $(MAKE) USE_SDL=1
-
-override_dh_auto_install:
-
-override_dh_install:
- mkdir -p $(CURDIR)/debian/gravitywars/usr/games/
- cp GravityWars101 $(CURDIR)/debian/gravitywars/usr/games/gravitywars
- chmod 755 $(CURDIR)/debian/gravitywars/usr/games/gravitywars
- dh_install
Copied: packages/tags/gravitywars/1.102-34/debian/rules (from rev 15600, packages/trunk/gravitywars/debian/rules)
===================================================================
--- packages/tags/gravitywars/1.102-34/debian/rules (rev 0)
+++ packages/tags/gravitywars/1.102-34/debian/rules 2015-11-21 20:43:56 UTC (rev 15601)
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ $(MAKE) USE_SDL=1
+
+override_dh_install:
+ cp GravityWars101 $(CURDIR)/debian/gravitywars/usr/games/gravitywars
+ $(RM) debian/gravitywars/usr/share/games/gravitywars/data/hscore.gw
+ dh_install
+
+override_dh_auto_install:
+ # Do nothing here to prevent a FTBFS
+
+override_dh_installchangelogs:
+ dh_installchangelogs CHANGES
More information about the Pkg-games-commits
mailing list