r13664 - in packages/tags/openssn: . debian debian/patches debian/source

Vincent Cheng vincentc-guest at alioth.debian.org
Sun Jun 3 08:57:11 UTC 2012


Author: vincentc-guest
Date: 2012-06-03 08:57:09 +0000 (Sun, 03 Jun 2012)
New Revision: 13664

Added:
   packages/tags/openssn/debian/
   packages/tags/openssn/debian/changelog
   packages/tags/openssn/debian/compat
   packages/tags/openssn/debian/control
   packages/tags/openssn/debian/copyright
   packages/tags/openssn/debian/docs
   packages/tags/openssn/debian/install
   packages/tags/openssn/debian/lintian-overrides
   packages/tags/openssn/debian/manpages
   packages/tags/openssn/debian/menu
   packages/tags/openssn/debian/openssn-data.install
   packages/tags/openssn/debian/patches/
   packages/tags/openssn/debian/patches/enable-build-hardening.patch
   packages/tags/openssn/debian/patches/fix-gcc47-ftbfs.patch
   packages/tags/openssn/debian/patches/fix-makefile-typo.patch
   packages/tags/openssn/debian/patches/series
   packages/tags/openssn/debian/rules
   packages/tags/openssn/debian/source/
   packages/tags/openssn/debian/source/format
   packages/tags/openssn/debian/watch
Log:
openssn: Tag release 1.1-1


Added: packages/tags/openssn/debian/changelog
===================================================================
--- packages/tags/openssn/debian/changelog	                        (rev 0)
+++ packages/tags/openssn/debian/changelog	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,5 @@
+openssn (1.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #640167)
+
+ -- Vincent Cheng <Vincentc1208 at gmail.com>  Wed, 30 May 2012 22:16:17 -0700

Added: packages/tags/openssn/debian/compat
===================================================================
--- packages/tags/openssn/debian/compat	                        (rev 0)
+++ packages/tags/openssn/debian/compat	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1 @@
+9

Added: packages/tags/openssn/debian/control
===================================================================
--- packages/tags/openssn/debian/control	                        (rev 0)
+++ packages/tags/openssn/debian/control	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,46 @@
+Source: openssn
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Vincent Cheng <Vincentc1208 at gmail.com>
+Build-Depends:
+ debhelper (>= 9),
+ libsdl-gfx1.2-dev,
+ libsdl-image1.2-dev,
+ libsdl-mixer1.2-dev,
+ libsdl1.2-dev
+Standards-Version: 3.9.3
+Homepage: http://openssn.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/openssn/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/openssn/
+
+Package: openssn
+Architecture: any
+Depends: openssn-data (= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: modern submarine tactical simulator
+ OpenSSN is a submarine simulation (subsim) which tries to emulate the
+ behaviour of modern submarines. The player is placed in command of a
+ submarine and is able to move about in a deep ocean environment.
+
+Package: openssn-data
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: openssn
+Description: modern submarine tactical simulator (data)
+ OpenSSN is a submarine simulation (subsim) which tries to emulate the
+ behaviour of modern submarines. The player is placed in command of a
+ submarine and is able to move about in a deep ocean environment.
+ .
+ This package contains data files for OpenSSN.
+
+Package: openssn-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: openssn (= ${binary:Version}), ${misc:Depends}
+Description: modern submarine tactical simulator (debug)
+ OpenSSN is a submarine simulation (subsim) which tries to emulate the
+ behaviour of modern submarines. The player is placed in command of a
+ submarine and is able to move about in a deep ocean environment.
+ .
+ This package contains debugging symbols for OpenSSN.

Added: packages/tags/openssn/debian/copyright
===================================================================
--- packages/tags/openssn/debian/copyright	                        (rev 0)
+++ packages/tags/openssn/debian/copyright	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,152 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: openssn
+Source: http://openssn.sourceforge.net/
+
+Files: *
+Copyright: 2000-2003 Michael Bridak <michael.bridak at verizon.net>
+           2001 Rick McDaniel <rickeym at swbell.net>
+           2011 Jesse Smith <jessefrgsmith at yahoo.ca>
+License: GPL-2
+
+Files: images/*
+Copyright: 2000-2003 Michael Bridak <michael.bridak at verizon.net>
+           2001 Rick McDaniel <rickeym at swbell.net>
+           2011 Jesse Smith <jessefrgsmith at yahoo.ca>
+License: Creative-Commons-CC0-1.0-Universal
+
+Files: debian/*
+Copyright: 2011 Vincent Cheng <Vincentc1208 at gmail.com>
+License: GPL-2
+
+License: Creative-Commons-CC0-1.0-Universal
+ Statement of Purpose
+ .
+ The laws of most jurisdictions throughout the world automatically
+ confer exclusive Copyright and Related Rights (defined below) upon
+ the creator and subsequent owner(s) (each and all, an "owner") of an
+ original work of authorship and/or a database (each, a "Work").
+ .
+ Certain owners wish to permanently relinquish those rights to a Work
+ for the purpose of contributing to a commons of creative, cultural
+ and scientific works ("Commons") that the public can reliably and
+ without fear of later claims of infringement build upon, modify,
+ incorporate in other works, reuse and redistribute as freely as
+ possible in any form whatsoever and for any purposes, including
+ without limitation commercial purposes. These owners may contribute
+ to the Commons to promote the ideal of a free culture and the further
+ production of creative, cultural and scientific works, or to gain
+ reputation or greater distribution for their Work in part through the
+ use and efforts of others.
+ .
+ For these and/or other purposes and motivations, and without any
+ expectation of additional consideration or compensation, the person
+ associating CC0 with a Work (the "Affirmer"), to the extent that he
+ or she is an owner of Copyright and Related Rights in the Work,
+ voluntarily elects to apply CC0 to the Work and publicly distribute
+ the Work under its terms, with knowledge of his or her Copyright and
+ Related Rights in the Work and the meaning and intended legal effect
+ of CC0 on those rights.
+ .
+ 1. Copyright and Related Rights. A Work made available under CC0 may
+ be protected by copyright and related or neighboring rights
+ ("Copyright and Related Rights"). Copyright and Related Rights
+ include, but are not limited to, the following:
+ .
+  i. the right to reproduce, adapt, distribute, perform, display,
+     communicate, and translate a Work;
+ ii. moral rights retained by the original author(s) and/or performer
+     (s);
+ iii. publicity and privacy rights pertaining to a person's image or
+     likeness depicted in a Work;
+ iv. rights protecting against unfair competition in regards to a
+     Work, subject to the limitations in paragraph 4(a), below;
+  v. rights protecting the extraction, dissemination, use and reuse of
+     data in a Work;
+ vi. database rights (such as those arising under Directive 96/9/EC of
+     the European Parliament and of the Council of 11 March 1996 on
+     the legal protection of databases, and under any national
+     implementation thereof, including any amended or successor
+     version of such directive); and
+ vii. other similar, equivalent or corresponding rights throughout the
+     world based on applicable law or treaty, and any national
+     implementations thereof.
+ .
+ 2. Waiver. To the greatest extent permitted by, but not in
+ contravention of, applicable law, Affirmer hereby overtly, fully,
+ permanently, irrevocably and unconditionally waives, abandons, and
+ surrenders all of Affirmer's Copyright and Related Rights and
+ a ssociated claims and causes of action, whether now known or unknown
+ (including existing as well as future claims and causes of action),
+ in the Work (i) in all territories worldwide, (ii) for the maximum
+ duration provided by applicable law or treaty (including future time
+ extensions), (iii) in any current or future medium and for any number
+ of copies, and (iv) for any purpose whatsoever, including without
+ limitation commercial, advertising or promotional purposes (the
+ "Waiver"). Affirmer makes the Waiver for the benefit of each member
+ of the public at large and to the detriment of Affirmer's heirs and
+ successors, fully intending that such Waiver shall not be subject to
+ revocation, rescission, cancellation, termination, or any other legal
+ or equitable action to disrupt the quiet enjoyment of the Work by the
+ public as contemplated by Affirmer's express Statement of Purpose.
+ .
+ 3. Public License Fallback. Should any part of the Waiver for any
+ reason be judged legally invalid or ineffective under applicable law,
+ then the Waiver shall be preserved to the maximum extent permitted
+ taking into account Affirmer's express Statement of Purpose. In
+ addition, to the extent the Waiver is so judged Affirmer hereby
+ grants to each affected person a royalty-free, non transferable, non
+ sublicensable, non exclusive, irrevocable and unconditional license
+ to exercise Affirmer's Copyright and Related Rights in the Work (i)
+ in all territories worldwide, (ii) for the maximum duration provided
+ by applicable law or treaty (including future time extensions), (iii)
+ in any current or future medium and for any number of copies, and
+ (iv) for any purpose whatsoever, including without limitation
+ commercial, advertising or promotional purposes (the "License"). The
+ License shall be deemed effective as of the date CC0 was applied by
+ Affirmer to the Work. Should any part of the License for any reason
+ be judged legally invalid or ineffective under applicable law, such
+ partial invalidity or ineffectiveness shall not invalidate the
+ remainder of the License, and in such case Affirmer hereby affirms
+ that he or she will not (i) exercise any of his or her remaining
+ Copyright and Related Rights in the Work or (ii) assert any
+ associated claims and causes of action with respect to the Work, in
+ either case contrary to Affirmer's express Statement of Purpose.
+ .
+ 4. Limitations and Disclaimers.
+ .
+  a. No trademark or patent rights held by Affirmer are waived,
+     abandoned, surrendered, licensed or otherwise affected by this
+     document.
+  b. Affirmer offers the Work as-is and makes no representations or
+     warranties of any kind concerning the Work, express, implied,
+     statutory or otherwise, including without limitation warranties
+     of title, merchantability, fitness for a particular purpose, non
+     infringement, or the absence of latent or other defects,
+     accuracy, or the present or absence of errors, whether or not
+     discoverable, all to the greatest extent permissible under
+     applicable law.
+  c. Affirmer disclaims responsibility for clearing rights of other
+     persons that may apply to the Work or any use thereof, including
+     without limitation any person's Copyright and Related Rights in
+     the Work. Further, Affirmer disclaims responsibility for
+     obtaining any necessary consents, permissions or other rights
+     required for any use of the Work.
+  d. Affirmer understands and acknowledges that Creative Commons is
+     not a party to this document and has no duty or obligation with
+     respect to this CC0 or use of the Work.
+
+License: GPL-2
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License, version 2 of the
+ License as published by the Free Software Foundation.
+ .
+ This package 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.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

Added: packages/tags/openssn/debian/docs
===================================================================
--- packages/tags/openssn/debian/docs	                        (rev 0)
+++ packages/tags/openssn/debian/docs	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,2 @@
+README
+TODO

Added: packages/tags/openssn/debian/install
===================================================================
--- packages/tags/openssn/debian/install	                        (rev 0)
+++ packages/tags/openssn/debian/install	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,3 @@
+usr/bin/openssn     usr/games/
+usr/share/applications/openssn.desktop
+usr/share/pixmaps/openssn.png

Added: packages/tags/openssn/debian/lintian-overrides
===================================================================
--- packages/tags/openssn/debian/lintian-overrides	                        (rev 0)
+++ packages/tags/openssn/debian/lintian-overrides	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,2 @@
+# False positive; package is built with -D_FORTIFY_SOURCE=2
+openssn: hardening-no-fortify-functions usr/games/openssn

Added: packages/tags/openssn/debian/manpages
===================================================================
--- packages/tags/openssn/debian/manpages	                        (rev 0)
+++ packages/tags/openssn/debian/manpages	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1 @@
+openssn.6

Added: packages/tags/openssn/debian/menu
===================================================================
--- packages/tags/openssn/debian/menu	                        (rev 0)
+++ packages/tags/openssn/debian/menu	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,2 @@
+?package(openssn):needs="X11" section="Games/Simulation"\
+  title="openssn" command="/usr/games/openssn"

Added: packages/tags/openssn/debian/openssn-data.install
===================================================================
--- packages/tags/openssn/debian/openssn-data.install	                        (rev 0)
+++ packages/tags/openssn/debian/openssn-data.install	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1 @@
+usr/share/games/openssn/

Added: packages/tags/openssn/debian/patches/enable-build-hardening.patch
===================================================================
--- packages/tags/openssn/debian/patches/enable-build-hardening.patch	                        (rev 0)
+++ packages/tags/openssn/debian/patches/enable-build-hardening.patch	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,18 @@
+Description: Enable build hardening flags
+Author: Vincent Cheng <Vincentc1208 at gmail.com>
+Last-Update: 05-30-2012
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -1,9 +1,9 @@
+ CC = g++
+ PREFIX ?= /usr
+ DEVCFLAGS = -Wall -g -D_GNU_SOURCE `sdl-config --cflags` 
+-CFLAGS = -g -Wall `sdl-config --cflags` -Wno-write-strings \
++CFLAGS = -g -Wall `sdl-config --cflags` -Wno-write-strings -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 \
+ # -DDEBUG_HELICOPTER # -DDEBUGMAP # -DAIDEBUG # -DDEBUG 
+-LIBS = -lm -lSDL_gfx -lSDL_image -lSDL_mixer `sdl-config --libs`
++LIBS = -lm -lSDL_gfx -lSDL_image -lSDL_mixer `sdl-config --libs` -Wl,-z,relro
+ OBJS = 	main.o sonar.o radar.o esm.o control.o submarine.o adcap.o coord.o stack.o contact.o towedarray.o targetmotionanalysis.o boatpositionlog.o dfont.o dstack.o message.o gameclock.o files.o mission.o menu.o draw.o sound.o map.o winfunctions.o helicopter.o
+ SSN = ../openssn
+ DATADIR = $(PREFIX)/share/games/openssn

Added: packages/tags/openssn/debian/patches/fix-gcc47-ftbfs.patch
===================================================================
--- packages/tags/openssn/debian/patches/fix-gcc47-ftbfs.patch	                        (rev 0)
+++ packages/tags/openssn/debian/patches/fix-gcc47-ftbfs.patch	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,15 @@
+Description: Fix FTBFS due to header dependency changes in gcc 4.7
+ This patch fixes FTBFS by explicitly including unistd.h.
+Author: Vincent Cheng <Vincentc1208 at gmail.com>
+Last-Update: 05-30-2012
+
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -20,6 +20,7 @@
+ #endif
+ 
+ /*Feeling left out? Get included!*/
++#include <unistd.h>
+ #include <iostream>
+ #include <list>
+ #include <string.h>

Added: packages/tags/openssn/debian/patches/fix-makefile-typo.patch
===================================================================
--- packages/tags/openssn/debian/patches/fix-makefile-typo.patch	                        (rev 0)
+++ packages/tags/openssn/debian/patches/fix-makefile-typo.patch	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,26 @@
+Description: Fix typo in Makefile
+ The desktop menu entry should be placed in /usr/share/applications/, rather 
+ than a subdir with the same name. Also, modify DATADIR path.
+Forwarded: yes
+Author: Vincent Cheng <Vincentc1208 at gmail.com>
+Last-Update: 2012-05-30
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,6 @@
+ PREFIX ?= /usr
+ SSN = openssn
+-DATADIR = $(PREFIX)/share/openssn
++DATADIR = $(PREFIX)/share/games/openssn
+ OPTDIR = /opt/openssn
+ VERSION = 1.1
+ 
+@@ -30,7 +30,7 @@
+ 	cp ships/* $(DATADIR)/ships
+ 	cp sounds/* $(DATADIR)/sounds
+ 	cp openssn.png $(PREFIX)/share/pixmaps
+-	cp openssn.desktop $(PREFIX)/share/applications/openssn.desktop
++	cp openssn.desktop $(PREFIX)/share/applications
+ 	cp openssn.6.gz $(PREFIX)/share/man/man6
+ 
+ optinstall: all

Added: packages/tags/openssn/debian/patches/series
===================================================================
--- packages/tags/openssn/debian/patches/series	                        (rev 0)
+++ packages/tags/openssn/debian/patches/series	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,3 @@
+fix-gcc47-ftbfs.patch
+fix-makefile-typo.patch
+enable-build-hardening.patch

Added: packages/tags/openssn/debian/rules
===================================================================
--- packages/tags/openssn/debian/rules	                        (rev 0)
+++ packages/tags/openssn/debian/rules	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ 
+
+override_dh_auto_install:
+	$(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
+	
+	dh_install
+
+override_dh_strip:
+	dh_strip --dbg-package=openssn-dbg


Property changes on: packages/tags/openssn/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/tags/openssn/debian/source/format
===================================================================
--- packages/tags/openssn/debian/source/format	                        (rev 0)
+++ packages/tags/openssn/debian/source/format	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/tags/openssn/debian/watch
===================================================================
--- packages/tags/openssn/debian/watch	                        (rev 0)
+++ packages/tags/openssn/debian/watch	2012-06-03 08:57:09 UTC (rev 13664)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/openssn/openssn-(.*)\.tar\.gz




More information about the Pkg-games-commits mailing list