pinfo (0.6.9-5) debian-dir only changes

Summary

 debian/changelog                      |  460 ++++++++++++++++++++++++++++++++++
 debian/compat                         |    1 
 debian/control                        |   16 +
 debian/copyright                      |   26 +
 debian/menu                           |    2 
 debian/patches/00list                 |    3 
 debian/patches/01_pinforc.dpatch      |   29 ++
 debian/patches/02_fix_segfault.dpatch |   20 +
 debian/patches/03_typos.dpatch        |  190 ++++++++++++++
 debian/postinst                       |   12 
 debian/prerm                          |   15 +
 debian/rules                          |  109 ++++++++
 debian/watch                          |    4 
 13 files changed, 887 insertions(+)

    
download this patch

Patch contents

--- pinfo-0.6.9.orig/debian/rules
+++ pinfo-0.6.9/debian/rules
@@ -0,0 +1,109 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+# misc variables
+TOPDIR      := $(shell pwd)
+PACKAGE     := $(shell dpkg-parsechangelog | grep ^Source: | cut -d' ' -f2)
+FULLVERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 )
+VERSION     := $(word 1,$(subst -, ,$(FULLVERSION)))
+ARCHIVE     := $(PACKAGE)-$(VERSION).tar.bz2
+BUILDDIR    := $(PACKAGE)-$(VERSION)
+DESTDIR     := $(TOPDIR)/debian/$(PACKAGE)/
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ARCH                := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+
+config_flags := --host=$(DEB_HOST_GNU_TYPE) \
+                --build=$(DEB_BUILD_GNU_TYPE) \
+                --prefix=/usr \
+				--sysconfdir=/etc \
+				--bindir=\$${prefix}/bin \
+				--libdir=\$${prefix}/lib/freesci \
+                --mandir=\$${prefix}/share/man \
+                --infodir=\$${prefix}/share/info \
+				--sharedstatedir=\$${prefix}/share \
+				--with-ncurses \
+				--with-regexp-search
+
+
+
+# set CFLAGS
+CFLAGS ?= -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -Os
+endif
+export CFLAGS
+export CXXFLAGS=$(CFLAGS)
+
+unpack: $(BUILDDIR)/configure
+$(BUILDDIR)/configure:
+	dh_testdir
+	tar xj --no-same-permissions -f $(ARCHIVE)
+	rm -f $(BUILDDIR)/doc/pinfo.info
+	rm -f $(BUILDDIR)/doc/pinfo.1
+
+patch: patch-stamp
+patch-stamp: $(BUILDDIR)/configure
+	dh_testdir
+	dpatch -d $(BUILDDIR) apply-all
+
+	# config.sub and config.guess update
+	cp /usr/share/misc/config.sub   $(BUILDDIR)/tools/config.sub 
+	cp /usr/share/misc/config.guess $(BUILDDIR)/tools/config.guess 
+
+	touch patch-stamp
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+	cd $(BUILDDIR) && ./configure $(config_flags)
+	cd $(BUILDDIR) && $(MAKE)	
+	touch build-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	cd $(BUILDDIR) && $(MAKE) install DESTDIR=$(DESTDIR)
+	-rm -f $(DESTDIR)/usr/share/info/dir
+	touch install-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp patch-stamp 
+	dh_clean
+	rm -rf $(BUILDDIR)
+
+binary-indep: 
+# We have nothing to do.
+
+binary-arch: install-stamp
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installmenu
+	dh_installinfo $(BUILDDIR)/doc/pinfo.info
+	dh_installchangelogs $(BUILDDIR)/ChangeLog
+	dh_strip
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+binary: binary-arch
+.PHONY: unpack patch build install clean binary-indep binary-arch binary
--- pinfo-0.6.9.orig/debian/postinst
+++ pinfo-0.6.9/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+#DEBHELPER#
+
+# Install alternative
+update-alternatives --install /usr/bin/infobrowser \
+	infobrowser /usr/bin/pinfo 50 \
+	--slave /usr/share/man/man1/infobrowser.1.gz \
+	infobrowser.1.gz /usr/share/man/man1/pinfo.1.gz
+
+exit 0
--- pinfo-0.6.9.orig/debian/watch
+++ pinfo-0.6.9/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://alioth.debian.org/project/showfiles.php?group_id=30592 \
+	(?:.*)/pinfo-([\d.]+).tar.gz
--- pinfo-0.6.9.orig/debian/menu
+++ pinfo-0.6.9/debian/menu
@@ -0,0 +1,2 @@
+?package(pinfo):needs="text" section="Help" title="Info Browser" command="pinfo"
+
--- pinfo-0.6.9.orig/debian/control
+++ pinfo-0.6.9/debian/control
@@ -0,0 +1,16 @@
+Source: pinfo
+Section: doc
+Priority: optional
+Maintainer: Bas Zoetekouw <bas@debian.org>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>=5), dpatch, bzip2, gettext, libreadline-dev, libncursesw5-dev, texinfo, install-info, autotools-dev
+Homepage: http://pinfo.alioth.debian.org/
+
+Package: pinfo
+Architecture: any
+Provides: info-browser
+Suggests: mutt | mail-reader, w3m | www-browser, cups-bsd | lpr
+Depends: ${shlibs:Depends}, ${misc:Depends}, install-info
+Description: An alternative info-file viewer
+ pinfo is an viewer for Info documents, which is based on ncurses.
+ The key-commands are in the style of lynx. 
--- pinfo-0.6.9.orig/debian/changelog
+++ pinfo-0.6.9/debian/changelog
@@ -0,0 +1,460 @@
+pinfo (0.6.9-5) unstable; urgency=low
+
+  * Build-dep on libreadline-dev instead of libreadline5-dev
+  * Copy in a fresh config.{sub.guess} at build time
+    (closes: #535727)
+  * Add ${misc:Depends} in the dependencies
+  * Bump standards-version to 3.8.3 (no changes required)
+
+ -- Bas Zoetekouw <bas@debian.org>  Fri, 16 Oct 2009 15:50:08 +0200
+
+pinfo (0.6.9-4) unstable; urgency=low
+
+  * Acknowlegde NMU upload (thanks Norbert!)
+  * Move to standards-version 3.8.2
+    - Add Homepage field to control file
+  * Change Suggests on cupsys-bsd to cups-bsd
+  * Move pinfo from the "Apps/Text" menu to "Help"
+  * By default, don't clear the screen on exit (Thanks to Justin Pryzby)
+    (Closes: #358996) [01_pinforc.dpatch]
+  * Also build-depend on install-info
+  * Make sure /usr/share/info/dir(.gz)? isn't shipped in the package
+    (Closes: #535322)
+
+ -- Bas Zoetekouw <bas@debian.org>  Fri, 03 Jul 2009 11:17:28 +0200
+
+pinfo (0.6.9-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * add dependency on install-info (Closes: #532591)
+
+ -- Norbert Preining <preining@debian.org>  Sun, 21 Jun 2009 19:37:10 +0200
+
+pinfo (0.6.9-3) unstable; urgency=low
+
+  * Fix bashism in debian/rules
+    (Closes: #484430)
+  * Fix a crash caused by closing a file that wasn't open
+    (Closes: #362183)
+  * Fix typos and grammar in docs
+    (Closes: #431707)
+
+ -- Bas Zoetekouw <bas@debian.org>  Wed,  4 Jun 2008 16:02:44 +0200
+
+pinfo (0.6.9-2) unstable; urgency=low
+
+  * Fix building of man page and info file
+  * Added watch file
+  * Clean up debian/rules
+  * Clean up the maintainer scripts
+
+ -- Bas Zoetekouw <bas@debian.org>  Thu, 16 Mar 2006 19:54:26 +0100
+
+pinfo (0.6.9-1) unstable; urgency=low
+
+  * New upstream release:
+    - use newer autoconf/automake tools (closes: #316286)
+    - fixed patch searching issues (closes: #181907, #299891)
+    - fixed segfault for info pages containing \0's (closes: #218939)
+    - updated and added translations 
+      (closes: #332792, #313928, #332241, #348129)
+    - nodes containing a "." are now correctly found 
+      (closes: #235134, #264270)
+    - non-ASCII and widechar man pages are displayed correctly 
+      (closes: #262128)
+    - improved the history behavior of the search input line
+    - broken tag tables are now automatically fixed
+    - fix segfault when a broken regexp is entered (closes: #222650)
+    - fixed a number of segfaults caused by using uninitialized pointers and
+      off-by-1 errors
+    - fixed heap corruption caused by non-ascii chars in info pages
+    - fixed text display on narrow terminals (closes: #288877, #320866)
+    - fixed highlighting of searches
+    - use default terminal colors. Thanks to Rob Funk for a patch. 
+      (closes: #138645)
+    - use libreadline by default;  readline version 5 is now required.
+    - better cooperation between ncurses and readline (closes: #222651)
+    - fixed some memory leaks
+    - got rid of tempnam() calls
+    - fixed -Wall and -Wshadow compiler warnings
+    - use utf8 in documentation files; fix typoes (closes: #337185)
+  * Revamped debian/rules and archive layout
+  * Added build-dependencies on debhelper, dpatch, bzip2, libreadline5-dev, 
+    libncursesw5-dev
+  * Fixed FSF address in copyright file
+  * Bumped debhelper compatibility level to 5
+  * Use sensible-browser instead of lynx in default pinforc and adapt Suggests
+    accordingly; add Suggests on cupsys-bsd|lprng|lpr for the lpr command
+
+ -- Bas Zoetekouw <bas@debian.org>  Thu, 16 Mar 2006 13:57:21 +0100
+
+pinfo (0.6.8-6) unstable; urgency=high
+
+  * Added build-dependency on texinfo (closes: #290618, #296459)
+  * Removed some leftover autogenerated files from the diff
+
+ -- Bas Zoetekouw <bas@debian.org>  Mon,  9 May 2005 14:01:32 +0200
+
+pinfo (0.6.8-5) unstable; urgency=high
+
+  * Fixed timestamp skew issue with the building of pinfo.info by removing the
+    info file from the diff and explicitly building in in debian/rules
+    (closes: #290618, #296459) 
+  * Fixed building on systems with non-022 umasks by explicitly chmodding the
+    $(TEMPDIR) dir
+  * Removed Bugs: and Origin: headers from debian/control 
+    (closes: #220098)
+  * Fixed spelling errors in man page (closes: #305625)
+  * Fixed quotes in menu file
+  * Remove config.{cache,status,log} in clean target
+  * Boosted the Standards-Version to 3.6.1 (no changes necessary)
+
+ -- Bas Zoetekouw <bas@debian.org>  Mon,  9 May 2005 11:11:20 +0200
+
+pinfo (0.6.8-4) unstable; urgency=low
+
+  * New maintainer.
+
+ -- Bas Zoetekouw <bas@debian.org>  Thu,  6 Jan 2005 19:01:25 +0100
+
+pinfo (0.6.8-3) unstable; urgency=low
+
+  * Fixed a typo in the infopage. (Closes: 
+  * Updated russian translation. (Closes: #268591)
+  * Applied patch from Matthew Mueller to fix segfaults in pinfo
+    when going back. (Closes: #261167)
+  * The last two chances were included with the permission of the 
+    upstream author.
+
+ -- Christian Kurz <shorty@debian.org>  Sat, 16 Oct 2004 20:58:03 +0200
+
+pinfo (0.6.8-2) unstable; urgency=low
+
+  * Removed the XSI:isms in prerm. Thanks to David Weinehall for 
+    providing the patch. This will fix the bug report #260075.
+
+ -- Christian Kurz <shorty@debian.org>  Wed, 21 Jul 2004 00:11:31 +0200
+
+pinfo (0.6.8-1) unstable; urgency=low
+
+  * New Upstream release.
+  * This version will now correctly lookup entries in the dir page, when
+    several matches are found. This fixes the bugreport #206155.
+  * This version also allows selection of dir page with numbers. I verified
+    this with the entry from automake-1.6. So the bugreport #186255 will
+    now also be fixed.
+  * The search prompt will now use a default item. So the bugreport #204055
+    will now also be fixed.
+
+ -- Christian Kurz <shorty@debian.org>  Sat, 23 Aug 2003 10:51:09 +0200
+
+pinfo (0.6.7-1) unstable; urgency=low
+
+  * New Upstream release.
+  * Now pinfo will also recognize entries like 'xxx/yyy' which are for
+    example used by emacs21. This will address the issue reported as
+    #174418.
+  * This version will now also support the proper usage of the option
+    -f. It will recognize raw file names when they begin with certain
+    characters. This should fix the issue reported as #153527.
+
+ -- Christian Kurz <shorty@debian.org>  Thu, 13 Feb 2003 09:54:08 +0100
+
+pinfo (0.6.6p1-1) unstable; urgency=low
+
+  * New Upstream version.
+  * This version should now catch all Reference/Hyperlinks that
+    an info page contains. So the bug #137009 will now be fixed.
+  * Also this version will now only clear the screen when the
+    user specified the option -x. This address the bug #140248.
+  * This package version also contains now a new prerm script
+    which will unregister the info documentation. So bug #151573
+    will now be also fixed.
+  * Last but not least this version has again a working option -f, so
+    bug #152617 is also now fixed.
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 14 Jul 2002 22:32:21 +0200
+
+pinfo (0.6.5p3-1) unstable; urgency=low
+
+  * New Upstream Release.
+
+ -- Christian Kurz <shorty@debian.org>  Thu,  9 May 2002 10:14:26 +0200
+
+pinfo (0.6.5p2-1) unstable; urgency=low
+
+  * Changed safe_group handler. (Closes: #128908)
+
+ -- Christian Kurz <shorty@debian.org>  Mon, 11 Mar 2002 09:11:49 +0100
+
+pinfo (0.6.5p1-1) unstable; urgency=low
+
+  * Applied patch to use INFOPATH variable from the configuration
+    file.
+  * Changed the version number to reflect the changes. Done with
+    permission of the author Przemek Borys.
+
+ -- Christian Kurz <shorty@debian.org>  Mon, 25 Feb 2002 19:43:59 +0100
+
+pinfo (0.6.5-2) unstable; urgency=low
+
+  * Changed Build Process.
+  * Fixed Build Process. (Closes: #133851)
+  * Fixed broken search function. (Closes: #134150)
+
+ -- Christian Kurz <shorty@debian.org>  Mon, 18 Feb 2002 22:43:38 +0100
+
+pinfo (0.6.5-1) unstable; urgency=low
+
+  * New Upstream release.
+  * Able to show the Pipes and FIFO section of the libc info pages
+    (Closes: #125591)
+  * Doesn't search in /usr/info, but in /usr/share/info. (Closes: #125978)
+  * Fixed configuration and won't print security warning anymore.
+    (Closes: #128908)
+  * Changed Debian Makefile and added md5sum.
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 10 Feb 2002 21:28:49 +0100
+
+pinfo (0.6.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Correctly works with subdir info files. (Closes: #117223)
+  * Will follow all links correctly. (Closes: #115070)
+  * Includes japanese translation. (Closes: #120448)
+  * Resizes correctly on SIGWINCH. (Closes: #119560)
+
+ -- Christian Kurz <shorty@debian.org>  Tue,  4 Dec 2001 20:12:33 +0100
+
+pinfo (0.6.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fixed group naming in config-file. (Closes: #101547)
+  * Fixed doucmentation. (Closes: #105591)
+
+ -- Christian Kurz <shorty@debian.org>  Thu, 19 Jul 2001 22:08:05 +0200
+
+pinfo (0.6.2-2) unstable; urgency=low
+
+  * Renamed SAFE-GROUP temporary to nogroup until debian solves this.
+    (Closes: #10154)
+  * Applied patch from Kevin Kreamer to prevent segfaulting due to 
+    going to non-existant line. (Closes: #105446)
+
+ -- Christian Kurz <shorty@debian.org>  Tue, 17 Jul 2001 20:28:40 +0200
+
+pinfo (0.6.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * pinfo will now parse all infopages. (Closes: #101348)
+  * Fixed grammar in error message. (Closes: #102487)
+  * Resolved conflict keymapping. (Closes: #90619)
+  * Parses and highlights manpages now correctly. (Closes: #80519)
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 15 Jul 2001 15:30:08 +0200
+
+pinfo (0.6.1-2) unstable; urgency=low
+
+  * Fixed prerm to allow a removal of the script. Thanks to Brendan
+    O'Dea who pointed this bug out to me.
+
+ -- Christian Kurz <shorty@debian.org>  Tue, 10 Oct 2000 20:50:54 +0200
+
+pinfo (0.6.1-1) unstable; urgency=low
+
+  * Removed wrong entry /etc/pinforc, somehow missed this in the first
+    build. (Closes: #74395)
+
+ -- Christian Kurz <shorty@debian.org>  Mon,  9 Oct 2000 16:35:59 +0200
+
+pinfo (0.6.1-0) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Christian Kurz <shorty@debian.org>  Sun,  8 Oct 2000 11:50:32 +0200
+
+pinfo (0.6.0-6) unstable; urgency=low
+
+  * Somehow I forgot to install postrm, but now it should be lintian-clean.
+
+ -- Christian Kurz <shorty@debian.org>  Sat,  7 Oct 2000 11:34:51 +0200
+
+pinfo (0.6.0-5) unstable; urgency=low
+
+  * Changed the safegroup back to be nogroup (Somehow missed this in
+    the previous packages :).
+  * Added 3ncurses to the list of manpages.
+
+ -- Christian Kurz <shorty@debian.org>  Tue,  5 Sep 2000 20:29:28 +0200
+
+pinfo (0.6.0-4) unstable; urgency=low
+
+  * Now made the real fix of the broken pinforc (mixed up file names :).
+
+ -- Christian Kurz <shorty@debian.org>  Mon,  4 Sep 2000 19:45:33 +0200
+
+pinfo (0.6.0-3) unstable; urgency=low
+
+  * Fixed broken pinforc and added Suggest-Line.
+
+ -- Christian Kurz <shorty@debian.org>  Thu, 31 Aug 2000 20:02:09 +0200
+
+pinfo (0.6.0-2) unstable; urgency=low
+
+  * Added menu-file (closes: ##70029).
+
+ -- Christian Kurz <shorty@debian.org>  Mon, 28 Aug 2000 19:40:58 +0200
+
+pinfo (0.6.0-1) unstable; urgency=low
+
+  * New upstream version with bugfixes.
+
+ -- Christian Kurz <shorty@debian.org>  Fri,  7 Jul 2000 16:07:18 +0200
+
+pinfo (0.5.9-6) unstable; urgency=low
+
+  * Changed debian/rules to be faster and more portable.
+
+ -- Christian Kurz <shorty@debian.org>  Fri,  7 Jul 2000 16:07:18 +0200
+
+pinfo (0.5.9-5) unstable; urgency=low
+
+  * Added Build-Depends.
+
+ -- Christian Kurz <shorty@debian.org>  Sat, 11 Mar 2000 10:50:09 +0100
+
+pinfo (0.5.9-4) unstable; urgency=low
+
+  * Fixed bad default for SAFEGROUP (closes: #59278)
+  * Fixed prerm to contain correct information (closes: #59290)
+
+ -- Christian Kurz <shorty@debian.org>  Tue, 29 Feb 2000 22:18:53 +0100
+
+pinfo (0.5.9-3) unstable; urgency=low
+
+  * Recompilation for libncurses5.
+
+ -- Christian Kurz <shorty@debian.org>  Wed,  5 Jan 2000 22:49:43 +0100
+
+pinfo (0.5.9-2) unstable; urgency=low
+
+  * Fixed configuration-file
+
+ -- Christian Kurz <shorty@debian.org>  Sun,  7 Nov 1999 00:08:57 +0100
+
+pinfo (0.5.9-1) unstable; urgency=low
+
+  * New Upstream Release.
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 31 Oct 1999 16:23:06 +0100
+
+pinfo (0.5.8-3) unstable; urgency=low
+
+  * Fixed postinst-Script which pointed to wrong location (closes: #47544)
+
+ -- Christian Kurz <shorty@debian.org>  Sat, 16 Oct 1999 10:24:52 +0200
+
+pinfo (0.5.8-2) unstable; urgency=low
+
+  * Fixed lintian bugs.
+
+ -- Christian Kurz <shorty@debian.org>  Mon, 11 Oct 1999 20:24:14 +0200
+
+pinfo (0.5.8-1) unstable; urgency=low
+
+  * New Upstream Release.
+
+ -- Christian Kurz <shorty@debian.org>  Sat, 18 Sep 1999 23:07:45 +0200
+
+pinfo (0.5.7-1) unstable; urgency=low
+
+  * New Upsream Release.
+
+ -- Christian Kurz <shorty@debian.org>  Fri, 10 Sep 1999 23:23:29 +0200
+
+pinfo (0.5.6-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Christian Kurz <shorty@debian.org>  Sat, 14 Aug 1999 01:48:10 +0200
+
+pinfo (0.5.4-1) unstable; urgency=low
+
+  * new releases which fixes some bugs
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 13 Jun 1999 22:30:45 +0200
+
+pinfo (0.5.3-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 16 May 1999 16:28:00 +0200
+
+pinfo (0.5.2-2) unstable; urgency=low
+
+  * Fixed the permissions
+  * Changed the MAILEDITOR-variable
+
+ -- Christian Kurz <shorty@debian.org>  Tue,  4 May 1999 15:53:16 +0200
+
+pinfo (0.5.2-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Christian Kurz <shorty@debian.org>  Mon,  3 May 1999 13:07:15 +0200
+
+pinfo (0.5.1-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Christian Kurz <shorty@debian.org>  Sun,  2 May 1999 14:09:00 +0200
+
+pinfo (0.5.0-3) unstable; urgency=low
+
+  * Registered pinforc (closes: #36739)
+
+ -- Christian Kurz <shorty@debian.org>  Tue, 27 Apr 1999 11:43:12 +0200
+
+pinfo (0.5.0-2) unstable; urgency=low
+
+  * Added postinst and prerm for update-alternatives
+
+ -- Christian Kurz <shorty@debian.org>  Mon, 26 Apr 1999 18:11:23 +0200
+
+pinfo (0.5.0-1) unstable; urgency=low
+  
+  * new upstream version
+ 
+ -- Christian Kurz <shorty@debian.org>  Tue, 20 Apr 1999 23:16:28 +0200
+  
+pinfo (0.4.9-2) unstable; urgency=low
+
+  * provides now info-browser (closes: #35897)
+  * corrected the copyright file.
+  * rewrite of the entry in the control-file.
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 11 Apr 1999 16:09:00 +0200
+
+pinfo (0.4.9-1) unstable; urgency=low
+
+  * new upstream release (closes: #35824)
+
+ -- Christian Kurz <shorty@debian.org>  Sun, 11 Apr 1999 13:08:47 +0200
+   
+pinfo (0.4.8-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Christian Kurz <shorty@debian.org>  Fri, 10 Apr 1999 13:05:07 +0200
+
+pinfo (0.4.6-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Christian Kurz <shorty@debian.org>  Fri,  2 Apr 1999 22:14:16 +0200
+
+pinfo (0.4.2-1) unstable; urgency=low
+
+  * First Debian release.
+
+ -- Christian Kurz <shorty@debian.org>  Wed, 28 Feb 1999 09:22:04 +0100
--- pinfo-0.6.9.orig/debian/compat
+++ pinfo-0.6.9/debian/compat
@@ -0,0 +1 @@
+5
--- pinfo-0.6.9.orig/debian/copyright
+++ pinfo-0.6.9/debian/copyright
@@ -0,0 +1,26 @@
+This is a Debian prepackaged version of the pinfo.
+
+Source code was obtained from:
+        http://zeus.polsl.gliwice.pl/~pborys/
+
+The following copyright applies to this package:
+
+ Copyright (c) 1999 Przemek Borys.
+ All rights reserved.
+
+ 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 2 of the License, or (at your option)
+ any later version.
+
+ This program 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+The complete text of the GPL can be found in /usr/share/common-licenses/GPL
+on Debian systems.
--- pinfo-0.6.9.orig/debian/prerm
+++ pinfo-0.6.9/debian/prerm
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "upgrade" ]
+then
+        update-alternatives --remove infobrowser /usr/bin/pinfo
+fi
+
+if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && [ -L /usr/doc/pinfo ]; then
+  rm -f /usr/doc/pinfo
+fi
+
+exit 0
--- pinfo-0.6.9.orig/debian/patches/01_pinforc.dpatch
+++ pinfo-0.6.9/debian/patches/01_pinforc.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_pinforc.dpatch by Bas Zoetekouw <bas@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debian-specific changes to the global pinforc file
+
+@DPATCH@
+
+--- pinfo-0.6.9/src/pinforc.in	2006-03-09 20:44:37.000000000 +0100
++++ pinfo-0.6.9/src/pinforc.in	2009-07-03 11:31:51.815012981 +0200
+@@ -82,13 +82,13 @@
+ FILTER-0xB7=true
+ QUIT-CONFIRMATION=false
+ QUIT-CONFIRM-DEFAULT=no
+-CLEAR-SCREEN-AT-EXIT=true
++CLEAR-SCREEN-AT-EXIT=false
+ CALL-READLINE-HISTORY=true
+ STDERR-REDIRECTION="2> /dev/null"
+-HTTPVIEWER=lynx
+-FTPVIEWER=lynx
+-MAILEDITOR=clear; mail
+-PRINTUTILITY=lpr
++HTTPVIEWER=sensible-browser
++FTPVIEWER=sensible-browser
++MAILEDITOR=clear; mutt
++PRINTUTILITY=lp
+ MANLINKS=1:8:2:3:4:5:6:7:9:n:p:o:3X11:3Xt:3x:3X
+ SAFE-USER=nobody
+ SAFE-GROUP=nogroup
--- pinfo-0.6.9.orig/debian/patches/00list
+++ pinfo-0.6.9/debian/patches/00list
@@ -0,0 +1,3 @@
+01_pinforc.dpatch
+02_fix_segfault.dpatch
+03_typos.dpatch
--- pinfo-0.6.9.orig/debian/patches/02_fix_segfault.dpatch
+++ pinfo-0.6.9/debian/patches/02_fix_segfault.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_fix_segfault.dpatch 
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debian-specific changes to the global pinforc file
+
+@DPATCH@
+
+--- pinfo-0.6.9rc2/src/filehandling_functions.c	2008-06-04 16:10:36.021052577 +0200
++++ pinfo-0.6.9rc2/src/filehandling_functions.c	2008-06-04 16:10:48.055848333 +0200
+@@ -200,7 +200,7 @@
+ 	}
+ 
+ 	/* if we haven't found anything, clean up and exit */
+-	if (!goodHit)
++	if ( id  &&  !goodHit )
+ 	{
+ 		fclose(id);
+ 		id = 0;
+
--- pinfo-0.6.9.orig/debian/patches/03_typos.dpatch
+++ pinfo-0.6.9/debian/patches/03_typos.dpatch
@@ -0,0 +1,190 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_typos
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debian-specific changes to the global pinforc file
+
+@DPATCH@
+
+--- pinfo-0.6.9rc2/doc/pinfo.1.in       2008-06-04 16:13:49.841032883 +0200
++++ pinfo-0.6.9rc2/doc/pinfo.1.in	2008-06-04 16:16:57.534783551 +0200
+@@ -27,7 +27,7 @@
+ .IR "filehandling_functions.c".
+ .P
+ When the search for info pages fails, man is called with the infopage
+-argument, and it's output is parsed by pinfo. This means that when you don't
++argument, and its output is parsed by pinfo. This means that when you don't
+ have the appropriate info page, but have a man page instead; the man page
+ will be viewed.
+ .P
+@@ -53,10 +53,10 @@
+ .P
+ You can also call the man function of pinfo in another way. When pinfo is
+ called with an argv[0] (the program file name), which contains the word 'man'
+-in it's name, the man functions are enabled automatically.
++in its name, the man functions are enabled automatically.
+ .P
+ Previously there was a symlink to pinfo, called pman, but I had to remove it
+-from the distribution, since it's name was in conflict with some other
++from the distribution, since its name was in conflict with some other
+ utility. Anyway, you can feel free to create such a link if you wish.
+ .P
+ .BR "-r",
+@@ -237,10 +237,10 @@
+ blinking attribute, or highlighted background in some other configurations.
+ .P
+ Now let's move to the key definitions. Here we first put a key name (again
+-all keys are present in the example); then we enter it's value -- either
++all keys are present in the example); then we enter its value -- either
+ surrounded
+ by apostrophes, or a keycode number (like in KEY_REFRESH_1), or its mnemonic
+-code name if it's a special key (like i.e. in KEY_FOLLOWLINK_1).
++code name if its a special key (like i.e. in KEY_FOLLOWLINK_1).
+ .P
+ If you wish to specify key by code value, use the supplied program 'testkey'
+ to obtain the needed value. It mainly is a feature, when you want to add
+@@ -274,10 +274,10 @@
+ Alternate key for repeating the last search.
+ .TP
+ .B KEY_GOTO_1
+-Key for explicitly going to a node (by specifying it's name).
++Key for explicitly going to a node (by specifying its name).
+ .TP 
+ .B KEY_GOTO_2
+-Alternate key for explicitly going to a node (by specifying it's name).
++Alternate key for explicitly going to a node (by specifying its name).
+ .TP 
+ .B KEY_PREVNODE_1
+ Key for going to a node marked as 'Prev' in the header. In man page viewer
+@@ -441,7 +441,7 @@
+ C/C++ ;).
+ .TP
+ .B [number]
+-\- you can also specify key as it's code number. It is useful e.g. when
++\- you can also specify key as its code number. It is useful e.g. when
+ specifying control keys, and some nonstandard keys.
+ A numerical value of zero turns given key binding off.
+ .sp
+
+--- pinfo-0.6.9rc2/doc/pinfo.texi       2008-06-04 16:13:49.841032883 +0200
++++ pinfo-0.6.9rc2/doc/pinfo.texi	2008-06-04 16:16:57.534783551 +0200
+@@ -60,13 +60,13 @@
+ @value{DATE}.
+ 
+ @menu
+-* Invoking::                    Comman line options.
++* Invoking::                    Command line options.
+ * Configuration::               Configurable behaviour of pinfo.
+ * Internationalization Support::  Localization.
+ * Author::                      Who wrote pinfo.
+ * Bugs::                        Help debugging.
+ * Copyright::                   Copying.
+-* Index::                       Search.
++* Index::                       Index.
+ 
+ @detailmenu
+  --- The Detailed Node Listing ---
+@@ -80,7 +80,7 @@
+ 
+ * Color::                       Color settings.
+ * Keys::                        Bindable keyboard.
+-* Options::                     Confiruration options.
++* Options::                     Configuration options.
+ * Example config file::         Build in values.
+ 
+ Keys
+@@ -100,8 +100,7 @@
+ @value{PROGRAM} [@var{options}] [@var{info_page}]
+ 
+ @value{PROGRAM} is a program for viewing info files. You specify which
+-page you want to read by passing it an @var{info_page} argument. This argumen
+-t
++page you want to read by passing it an @var{info_page} argument. This argument
+ contains the name of an info page (i.e. @samp{bash}). The program
+ will then (by default) search for it in the current diectory, @file{/usr/share/info},
+ @file{/usr/info}, @file{/usr/local/share/info}, @file{/usr/local/info},
+@@ -113,7 +112,7 @@
+ to the function @code{openinfo()} in @file{filehandling_functions.c}.
+ 
+ When the search for info pages fails, man is called with the @var{info_page}
+-argument, and it's output is parsed by @value{PROGRAM}. This means that
++argument, and its output is parsed by @value{PROGRAM}. This means that
+ when you don't have the appropriate info page, but have a man page
+ instead; the man page will be viewed.
+ 
+@@ -132,16 +131,16 @@
+ could be used as a manual pager). Warning: Everything what follows this
+ option is passed to the @code{man} program. Don't be confused if
+ @value{PROGRAM} options, which followed @samp{-m} don't work.
+-When using this option, pinfo does not parse the info options as ussual!
++When using this option, pinfo does not parse the info options as usual!
+ It invokes the man part of program.
+ 
+ You can also call the man function of @value{PROGRAM} in another way.
+ When @value{PROGRAM} is called with an @code{argv[0]} (the program file
+-name), which contains the word @code{man} in it's name, the man
++name), which contains the word @code{man} in its name, the man
+ functions are enabled automatically.
+ 
+ Previously there was a symlink to @value{PROGRAM}, called @code{pman},
+-but I had to remove it from the distribution, since it's name was in
++but I had to remove it from the distribution, since its name was in
+ conflict with some other utility. Anyway, you can feel free to create
+ such a link if you wish.
+ @item -r, --raw-filename
+@@ -161,7 +160,7 @@
+ @item -t, --force-manual-tag-table
+ forces manual detection of tag table. This allows you to view info
+ pages, which may be corrupted.  (as i.e.  version of jed's pages,
+-shipped with RH5.0). The tag table corruption ussualy appears in that
++shipped with RH5.0). The tag table corruption usualy appears in that
+ the info links, which you follow, move you to quite unexpected nodes.
+ @item --node=@var{nodename}, --node @var{nodename}
+ Go to the node @var{nodename} of info file. Since 0.6.7 it is also
+@@ -239,9 +238,9 @@
+ @cindex How to use it
+ 
+ Now let's move to the key definitions. Here we first put a key name
+-(again all keys are present in the example); then we enter it's value --
++(again all keys are present in the example); then we enter its value --
+ either surrounded by apostrophes, or a keycode number (like in
+-@var{KEY_REFRESH_1}), or its mnemonic code name if it's a special key
++@var{KEY_REFRESH_1}), or its mnemonic code name if its a special key
+ (like i.e.  in @var{KEY_FOLLOWLINK_1}).
+ 
+ If you wish to specify key by code value, use the supplied program
+@@ -284,10 +283,10 @@
+ Alternate key for repeating the last search.
+ 
+ @item KEY_GOTO_1
+-Key for explicitly going to a node (by specifing it's name).
++Key for explicitly going to a node (by specifing its name).
+ 
+ @item KEY_GOTO_2
+-Alternate key for explicitly going to a node (by specifing it's name).
++Alternate key for explicitly going to a node (by specifing its name).
+ 
+ @item KEY_PREVNODE_1
+ Key for going to a node marked as 'Prev' in the header. In manpage viewer
+@@ -443,7 +442,7 @@
+ this means a printable character c. The syntax is just like in C/C++ ;).
+ 
+ @item [number]
+-you can also specify key as it's code number.  It is useful e.g. when
++you can also specify key as its code number.  It is useful e.g. when
+ specifing control keys, and some nonstandard keys.  A numerical value of
+ zero turns given keybinding off.
+ 
+@@ -703,8 +702,9 @@
+ @email{pborys@@zeus.polsl.gliwice.pl}, or
+ @email{pborys@@p-soft.silesia.linux.org.pl}.
+ 
+-There was also a lot of other people, who contributed to this code. See
+-the @file{AUTHORS} file.
++A lot of other people also contributed
++to this code.
++See the @file{AUTHORS} file.
+ 
+ Please send bug reports to the author: @value{AUTHOR} @value{CONTACT}.
+ 
+