[DebianBRTeam-commits] r629 - in /packages/pacman4console/trunk/debian: ./ patches/ source/

eriberto-guest at users.alioth.debian.org eriberto-guest at users.alioth.debian.org
Tue May 7 19:37:55 UTC 2013


Author: eriberto-guest
Date: Tue May  7 19:37:55 2013
New Revision: 629

URL: http://svn.debian.org/wsvn/?sc=1&rev=629
Log:
  * Migrations:
      - debian format from 1.0 to 3.0.
      - debian/changelog to 1.0.
      - debhelper level from 5 to 9.
      - patch system from dpatch to quilt.
  * debian/control:
      - added dpkg-dev as Build-Depends.
      - added ${misc:Depends} to Depends field.
      - droped leading article from short description.
      - updated Standards-Version from 3.7.3 to 3.9.4.
      - updated VCS fields.
      - updated homepage.
  * debian/dirs: removed. Using Makefile only.
  * debian/override: renamed to lintian-overrides.
  * debian/patches/Makefile.patch:
      - added GCC hardening.
      - changed several commands by "install" to simplify actions.
  * debian/rules: updated to new (reduced) format.
  * debian/watch: silenced.
  * manpages: fixed little mistakes.


Added:
    packages/pacman4console/trunk/debian/lintian-overrides
    packages/pacman4console/trunk/debian/patches/Makefile.patch
    packages/pacman4console/trunk/debian/patches/levels.patch
    packages/pacman4console/trunk/debian/patches/series
    packages/pacman4console/trunk/debian/source/
    packages/pacman4console/trunk/debian/source/format
Removed:
    packages/pacman4console/trunk/debian/dirs
    packages/pacman4console/trunk/debian/override
    packages/pacman4console/trunk/debian/patches/00list
    packages/pacman4console/trunk/debian/patches/01_change_Makefile.dpatch
    packages/pacman4console/trunk/debian/patches/02_change_level_location.dpatch
Modified:
    packages/pacman4console/trunk/debian/changelog
    packages/pacman4console/trunk/debian/compat
    packages/pacman4console/trunk/debian/control
    packages/pacman4console/trunk/debian/copyright
    packages/pacman4console/trunk/debian/pacman4console.6
    packages/pacman4console/trunk/debian/pacman4consoleedit.1
    packages/pacman4console/trunk/debian/rules
    packages/pacman4console/trunk/debian/watch

Modified: packages/pacman4console/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/changelog?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/changelog (original)
+++ packages/pacman4console/trunk/debian/changelog Tue May  7 19:37:55 2013
@@ -1,3 +1,28 @@
+pacman4console (1.2-3) unstable; urgency=low
+
+  * Migrations:
+      - debian format from 1.0 to 3.0.
+      - debian/changelog to 1.0.
+      - debhelper level from 5 to 9.
+      - patch system from dpatch to quilt.
+  * debian/control:
+      - added dpkg-dev as Build-Depends.
+      - added ${misc:Depends} to Depends field.
+      - droped leading article from short description.
+      - updated Standards-Version from 3.7.3 to 3.9.4.
+      - updated VCS fields.
+      - updated homepage.
+  * debian/dirs: removed. Using Makefile only.
+  * debian/override: renamed to lintian-overrides.
+  * debian/patches/Makefile.patch:
+      - added GCC hardening.
+      - switched several commands by "install" to simplify actions.
+  * debian/rules: updated to new (reduced) format.
+  * debian/watch: silenced.
+  * manpages: fixed little mistakes.
+
+ -- Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>  Tue, 30 Apr 2013 21:55:50 -0300
+
 pacman4console (1.2-2) unstable; urgency=low
 
   * Cleaned debian/rules file.

Modified: packages/pacman4console/trunk/debian/compat
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/compat?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/compat (original)
+++ packages/pacman4console/trunk/debian/compat Tue May  7 19:37:55 2013
@@ -1,1 +1,1 @@
-5
+9

Modified: packages/pacman4console/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/control?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/control (original)
+++ packages/pacman4console/trunk/debian/control Tue May  7 19:37:55 2013
@@ -2,16 +2,16 @@
 Section: games
 Priority: extra
 Maintainer: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
-Build-Depends: debhelper (>= 5), libncurses5-dev, dpatch
-Standards-Version: 3.7.3
-Vcs-Svn: svn://svn.debian.org/svn/debian-br-team/unstable/pacman4console
-Vcs-Browser: http://svn.debian.org/wsvn/debian-br-team/unstable/pacman4console
-Homepage: http://doctormike.googlepages.com/pacman.html
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), libncurses5-dev
+Standards-Version: 3.9.4
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-br-team/packages/pacman4console
+Vcs-Svn: svn://svn.debian.org/svn/debian-br-team/packages/pacman4console
+Homepage: https://sites.google.com/site/doctormike/pacman.html
 
 Package: pacman4console
 Architecture: any
-Depends: ${shlibs:Depends}
-Description: a console based pacman game 
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: console based pacman game
  This is a simple but very good pacman game. Also, its source code is very
  simple and well commented so it may be a good reference for learning ncurses
  and C programming.

Modified: packages/pacman4console/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/copyright?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/copyright (original)
+++ packages/pacman4console/trunk/debian/copyright Tue May  7 19:37:55 2013
@@ -1,30 +1,28 @@
-This package was debianized by Joao Eriberto Mota Filho
-<eriberto at eriberto.pro.br> on Fri,  8 Dec 2006 10:54:06 -0200.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pacman
+Source: https://sites.google.com/site/doctormike/pacman.html
 
-It was downloaded from http://doctormike.googlepages.com/pacman.html
+Files: *
+Copyright: 2006 Michael Billars
+License: GPL-2.0+
 
-Upstream Author: Michael Billars <doctormike at gmail.com>
+Files: debian/*
+Copyright: 2006-2013 Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+License: GPL-2.0+
 
-Copyright: 2006, Michael Billars
-
-License:
-
-   This package 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 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 package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-
-On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL-2'.
-
-The Debian packaging is (C) 2006-2007, Joao Eriberto Mota Filho
-<eriberto at eriberto.pro.br> and is licensed under the GPL 2 or later.
+License: GPL-2.0+
+ This package 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 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/pacman4console/trunk/debian/lintian-overrides
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/lintian-overrides?rev=629&op=file
==============================================================================
--- packages/pacman4console/trunk/debian/lintian-overrides (added)
+++ packages/pacman4console/trunk/debian/lintian-overrides Tue May  7 19:37:55 2013
@@ -1,0 +1,2 @@
+# The package has a map editor in usr/bin
+pacman4console: package-section-games-but-has-usr-bin

Modified: packages/pacman4console/trunk/debian/pacman4console.6
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/pacman4console.6?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/pacman4console.6 (original)
+++ packages/pacman4console/trunk/debian/pacman4console.6 Tue May  7 19:37:55 2013
@@ -1,6 +1,6 @@
 .TH PACMAN4CONSOLE 6 "december  8, 2006"
 .SH NAME
-pacman4console \- a console based pacman game
+pacman4console \- console based pacman game
 .SH SYNOPSIS
 .B pacman4console
 .RB [
@@ -10,15 +10,15 @@
 This manual page documents briefly the
 .B pacman4console.
 .PP
-\fBpacman4console\fP is an ASCII character based game. This game haves nine levels.
+\fBpacman4console\fP is an ASCII character based game. This game has nine levels.
 .SH OPTION
 .B n
 - Start level n
 .SH SEE ALSO
 pacman4consoleedit(1)
 .SH AUTHOR
-pacman4console was written by Michael Billars (aka Dr. Mike) and is available at http://doctormike.googlepages.com/pacman.html.
+pacman4console was written by Michael Billars (aka Dr. Mike) and is available at https://sites.google.com/site/doctormike/pacman.html.
 .PP
 .nh
 .ad l
-This manual page was written by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>, for the Debian project (but may be used by others).
+This manual page was written by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br> for the Debian project (but may be used by others).

Modified: packages/pacman4console/trunk/debian/pacman4consoleedit.1
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/pacman4consoleedit.1?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/pacman4consoleedit.1 (original)
+++ packages/pacman4console/trunk/debian/pacman4consoleedit.1 Tue May  7 19:37:55 2013
@@ -1,6 +1,6 @@
 .TH PACMAN4CONSOLEEDIT 1 "january  4, 2007"
 .SH NAME
-pacman4consoleedit \- an editor to make pacman4console mazes
+pacman4consoleedit \- editor to make pacman4console mazes
 .SH SYNOPSIS
 .B pacman4consoleedit
 file
@@ -40,8 +40,8 @@
 .SH SEE ALSO
 pacman4console(6)
 .SH AUTHOR
-pacman4console was written by Michael Billars (aka Dr. Mike) and is available at http://doctormike.googlepages.com/pacman.html.
+pacman4console was written by Michael Billars (aka Dr. Mike) and is available at https://sites.google.com/site/doctormike/pacman.html.
 .PP
 .nh
 .ad l
-This manual page was written by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>, for the Debian project (but may be used by others).
+This manual page was written by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br> for the Debian project (but may be used by others).

Added: packages/pacman4console/trunk/debian/patches/Makefile.patch
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/patches/Makefile.patch?rev=629&op=file
==============================================================================
--- packages/pacman4console/trunk/debian/patches/Makefile.patch (added)
+++ packages/pacman4console/trunk/debian/patches/Makefile.patch Tue May  7 19:37:55 2013
@@ -1,0 +1,29 @@
+Description: makes Makefile compliant with Debian and adds GCC hardening.
+Author: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+Last-Update: 20130506
+--- a/Makefile
++++ b/Makefile
+@@ -1,17 +1,12 @@
+ all:
+-	gcc -lncurses pacman.c     -o pacman
+-	gcc -lncurses pacmanedit.c -o pacmanedit
++	gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -lncurses pacman.c     -o pacman
++	gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -lncurses pacmanedit.c -o pacmanedit
+ 
+ install:	all
+-	cp pacman /usr/local/bin
+-	cp pacmanedit /usr/local/bin
+-	mkdir -p /usr/local/share/pacman
+-	cp -fR Levels/ /usr/local/share/pacman/
+-	chown root:games /usr/local/bin/pacman
+-	chown root:games /usr/local/share/pacman -R
+-	chmod 750 /usr/local/bin/pacman
+-	chmod 750 /usr/local/bin/pacmanedit
+-	chmod 750 /usr/local/share/pacman/ -R
++	install -D pacman $(DESTDIR)/usr/games/pacman4console
++	install -D pacmanedit $(DESTDIR)/usr/bin/pacman4consoleedit
++	install -d $(DESTDIR)/usr/share/pacman4console/Levels
++	install -m 644 Levels/* $(DESTDIR)/usr/share/pacman4console/Levels/
+ 
+ uninstall:
+ 	rm -f /usr/local/bin/pacman

Added: packages/pacman4console/trunk/debian/patches/levels.patch
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/patches/levels.patch?rev=629&op=file
==============================================================================
--- packages/pacman4console/trunk/debian/patches/levels.patch (added)
+++ packages/pacman4console/trunk/debian/patches/levels.patch Tue May  7 19:37:55 2013
@@ -1,0 +1,13 @@
+Description: change levels location in pacman.h.
+Author: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+Last-Update: 20130506
+diff -Naur pacman4console-1.0.orig/pacman.h pacman4console-1.0/pacman.h
+--- pacman4console-1.0.orig/pacman.h	2006-06-12 07:41:40.000000000 -0300
++++ pacman4console-1.0/pacman.h	2006-12-08 11:49:25.000000000 -0200
+@@ -1,5 +1,5 @@
+ // Some variables that you may want to change
+-char LevelFile[50] = "/usr/local/share/pacman/Levels/level__.dat";	//Locations of default levels
++char LevelFile[50] = "/usr/share/pacman4console/Levels/level__.dat";	        //Locations of default levels
+ int FreeLife = 1000;							//Starting points for free life
+ int Points = 0;								//Initial points
+ int Lives = 3;								//Number of lives you start with

Added: packages/pacman4console/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/patches/series?rev=629&op=file
==============================================================================
--- packages/pacman4console/trunk/debian/patches/series (added)
+++ packages/pacman4console/trunk/debian/patches/series Tue May  7 19:37:55 2013
@@ -1,0 +1,2 @@
+levels.patch
+Makefile.patch

Modified: packages/pacman4console/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/rules?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/rules (original)
+++ packages/pacman4console/trunk/debian/rules Tue May  7 19:37:55 2013
@@ -3,45 +3,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
 
-build: build-stamp
+%:
+	dh $@ --parallel
 
-build-stamp: patch-stamp
-	dh_testdir
-	$(MAKE)
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	$(MAKE) clean
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	$(MAKE) DESTDIR=$(CURDIR)/debian/pacman4console install
-	mv $(CURDIR)/debian/pacman4console/usr/share/pacman4console/Levels/README $(CURDIR)/debian/pacman4console/usr/share/doc/pacman4console/README.Levels
-	cp debian/override $(CURDIR)/debian/pacman4console/usr/share/lintian/overrides/pacman4console
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installman $(CURDIR)/debian/pacman4console.6 $(CURDIR)/debian/pacman4consoleedit.1
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+override_dh_installman:
+	dh_installman debian/pacman4console.6 debian/pacman4consoleedit.1

Added: packages/pacman4console/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/source/format?rev=629&op=file
==============================================================================
--- packages/pacman4console/trunk/debian/source/format (added)
+++ packages/pacman4console/trunk/debian/source/format Tue May  7 19:37:55 2013
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: packages/pacman4console/trunk/debian/watch
URL: http://svn.debian.org/wsvn/packages/pacman4console/trunk/debian/watch?rev=629&op=diff
==============================================================================
--- packages/pacman4console/trunk/debian/watch (original)
+++ packages/pacman4console/trunk/debian/watch Tue May  7 19:37:55 2013
@@ -1,2 +1,2 @@
 version=3
-http://doctormike.googlepages.com/pacman.html pacman-(.*)\.tar\.gz
+# The current page doesn't allow watch.




More information about the debian-br-team-commits mailing list