debian/0000755000000000000000000000000012135615005007164 5ustar debian/watch0000644000000000000000000000006412131613240010210 0ustar version=3 http://sf.net/nsnake/nsnake-(.+)\.tar\.gz debian/copyright0000644000000000000000000000223012135567101011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nsnake Upstream-Contact: Alexandre Dantas Source: http://www.alexdantas.net/projects/nsnake/ Files: * Copyright: 2011-2013 Alexandre Dantas License: GPL-3.0+ Files: debian/* Copyright: 2013 Alexandre Dantas License: GPL-3.0+ License: GPL-3.0+ 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 3 of the License, or (at your option) any later version. . 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 . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/compat0000644000000000000000000000000212135566075010376 0ustar 9 debian/source/0000755000000000000000000000000012131606316010465 5ustar debian/source/format0000644000000000000000000000001412131613240011665 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000015012135604473010247 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --paralleldebian/patches/0000755000000000000000000000000012135567662010632 5ustar debian/patches/series0000644000000000000000000000002012135567346012036 0ustar hardening.patch debian/patches/hardening.patch0000644000000000000000000000172512135567662013617 0ustar Description: Applied hardening flags to build process. Author: Alexandre Dantas Last-Update: 2013-04-23--- a/Makefile +++ b/Makefile @@ -57,9 +57,11 @@ CC = gcc EXE = nsnake CDEBUG = -CFLAGS = $(CDEBUG) -Wall -Wextra -O2 +CFLAGS = $(CDEBUG) -Wall -Wextra -O2 $(shell dpkg-buildflags --get CFLAGS) +CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) +LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) LIBS = -lncurses -INCLUDESDIR = +INCLUDESDIR = LIBSDIR = OBJ = $(LOBJ)/fruit.o \ $(LOBJ)/main.o \ @@ -116,11 +118,11 @@ $(EXE): $(OBJ) # Linking... - $(MUTE)$(CC) $(OBJ) -o $(LBIN)/$(EXE) $(LIBSDIR) $(LIBS) + $(MUTE)$(CC) $(OBJ) -o $(LBIN)/$(EXE) $(LIBSDIR) $(LIBS) $(LDFLAGS) $(LOBJ)/%.o: $(LSRC)/%.c # Compiling $<... - $(MUTE)$(CC) $(CFLAGS) $< -c -o $@ $(DEFINES) $(INCLUDESDIR) + $(MUTE)$(CC) $(CPPFLAGS) $(CFLAGS) $< -c -o $@ $(DEFINES) $(INCLUDESDIR) dist: clean $(DISTDIR).tar.gz debian/changelog0000644000000000000000000000023512135612730011040 0ustar nsnake (1.5-1) unstable; urgency=low * Initial release (Closes: #706048) -- Alexandre Dantas Tue, 23 Apr 2013 17:14:42 -0300 debian/control0000644000000000000000000000133512135613471010576 0ustar Source: nsnake Section: games Priority: optional Maintainer: Alexandre Dantas Build-Depends: debhelper (>= 9), libncurses5-dev Standards-Version: 3.9.4 Homepage: http://www.alexdantas.net/projects/nsnake/ Vcs-Git: git://github.com/alexdantas/nSnake.git Vcs-Browser: https://github.com/alexdantas/nSnake Package: nsnake Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: classic snake game with textual interface nsnake is an implementation of the classic snake game with textual interface. It is playable at command-line with ncurses-like graphics. . Features high-scores and two game modes - with and without borders. . Screenshot: http://alexdantas.net/nsnake-screenshot.pngdebian/docs0000644000000000000000000000002112131613240010023 0ustar BUGS README TODO