[Reproducible-commits] [txt2man] 01/13: Imported Debian patch 1.5.5-3

Reiner Herrmann reiner at reiner-h.de
Thu Jul 2 16:52:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

deki-guest pushed a commit to branch pu/reproducible_builds
in repository txt2man.

commit 97e789bc4ee377424d8379cd2894688a11220193
Author: Fredrik Steen <stone at debian.org>
Date:   Thu Apr 7 15:08:28 2011 +0200

    Imported Debian patch 1.5.5-3
---
 debian/changelog                        | 69 +++++++++++++++++++++++++
 debian/compat                           |  1 +
 debian/control                          | 18 +++++++
 debian/copyright                        | 26 ++++++++++
 debian/dirs                             |  1 +
 debian/docs                             |  1 +
 debian/patches/debian-changes-1.5.5-2.1 | 90 +++++++++++++++++++++++++++++++++
 debian/patches/remove-ksh-check.patch   | 11 ++++
 debian/patches/series                   |  2 +
 debian/rules                            | 53 +++++++++++++++++++
 debian/source/format                    |  1 +
 debian/watch                            |  6 +++
 12 files changed, 279 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9ef062a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,69 @@
+txt2man (1.5.5-3) unstable; urgency=low
+
+  * Switch to dpkg-source 3.0
+
+ -- Fredrik Steen <stone at debian.org>  Thu, 07 Apr 2011 15:08:28 +0200
+
+txt2man (1.5.5-2) unstable; urgency=low
+
+  * Use "pager" when using option -T (Closes:#530342)
+
+ -- Fredrik Steen <stone at debian.org>  Sun, 29 Nov 2009 23:25:01 +0100
+
+txt2man (1.5.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix bashisms in 'bookman' script (Closes: #473696)
+
+ -- Chris Lamb <chris at chris-lamb.co.uk>  Sat, 12 Apr 2008 03:26:26 +0100
+
+txt2man (1.5.5-1) unstable; urgency=low
+
+  * New upstream release. (Closes:#415390)
+  * Incorrect generation of nroff for command line arguments 
+    (Closes: #416391, #440214)
+  * Use gsub instead of sub to correctly parse file. (Closes: #221268)
+  * Fix lintian warnings due to incorrectly generated nroff comments
+
+ -- Robin Cornelius <robin.cornelius at gmail.com>  Tue, 25 Mar 2008 11:56:20 +0000
+
+txt2man (1.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Fredrik Steen <stone at debian.org>  Fri, 27 Oct 2006 08:57:02 +0200
+
+txt2man (1.5-2) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+
+ -- Fredrik <stone at dexter.lnx.nu>  Mon, 23 Oct 2006 12:36:34 +0200
+
+txt2man (1.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Fredrik Steen <stone at debian.org>  Mon, 23 Oct 2006 11:27:11 +0200
+
+txt2man (1.4.8-2) unstable; urgency=low
+
+  * Fixed watch file. (Closes:#300154)
+  * Fixed escaping of hyphens (Closes:#300152) - patch from 
+    Wesley J. Landaker. Thank you.
+
+ -- Fredrik Steen <stone at debian.org>  Fri, 18 Mar 2005 08:50:28 +0100
+
+txt2man (1.4.8-1) unstable; urgency=low
+
+  * New upstream release
+  * This version fixes a bug in tag list parsing (Closes:#198187)
+
+ -- Fredrik Steen <stone at debian.org>  Sun, 13 Jul 2003 00:35:30 +0200
+
+txt2man (1.4.7-1) unstable; urgency=low
+
+  * Initial Release.
+  * Upload (Closes:#178953)
+
+ -- Fredrik Steen <stone at debian.org>  Wed, 29 Jan 2003 16:03:19 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d7c8db4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: txt2man
+Section: text
+Priority: optional
+Homepage: http://mvertes.free.fr/download/
+Maintainer: Fredrik Steen <stone at debian.org>
+Uploaders: Robin Cornelius <robin.cornelius at gmail.com>
+Build-Depends: debhelper (>= 5), gawk
+Standards-Version: 3.9.1
+
+Package: txt2man
+Architecture: all
+Depends: ${misc:Depends},gawk
+Description: Converts flat ASCII text to man page format
+ It is a shell script using gnu awk, that should run
+ on any Unix-like system. The syntax of the ASCII text
+ is very straightforward and looks very much like the
+ output of the man(1) program.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e6732bd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+
+Files: debian/*
+Copyright: (C) 2003-2006 Fredrik Steen <stone at debian.org>
+	   (C) 2008 Robin Cornelius <robin.cornelius at gmail.com>
+
+Files: *
+Copyright: (C) 2002-2007 Marc Vertes <mvertes at free.fr>
+Licence: GPL-v2
+   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; version 2 dated June, 1991.
+
+   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 GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/debian-changes-1.5.5-2.1 b/debian/patches/debian-changes-1.5.5-2.1
new file mode 100644
index 0000000..b4415bf
--- /dev/null
+++ b/debian/patches/debian-changes-1.5.5-2.1
@@ -0,0 +1,90 @@
+Description: Upstream changes introduced in version 1.5.5-2.1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ txt2man (1.5.5-2.1) unstable; urgency=low
+ .
+   * Switch to dpkg-source 3.0
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Fredrik Steen <stone at debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- txt2man-1.5.5.orig/bookman
++++ txt2man-1.5.5/bookman
+@@ -83,16 +83,16 @@ done
+ shift $(($OPTIND - 1))
+ date=${date:-$(date +'%d %B %Y')}
+ 
+-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)
++[ $1 ] || set -- $(while read REPLY; do echo $REPLY; done)
+ 
+-[[ $outfile ]] && post="$post >$outfile"
++[ $outfile ] && post="$post >$outfile"
+ 
+ {
+ 	# Compute table of content from postscript output.
+ 	# Generate output in gtroff intermediate format, so
+ 	# it can be merged with content.
+ 	{
+-		[[ -f $cover ]] && cat $cover || {
++		[ -f $cover ] && cat $cover || {
+ 			printf ".af %% i\n.P1\n"
+ 			printf ".OH ||%s||\n" "$volume"
+ 			printf ".EH ||%s||\n" "$volume"
+--- txt2man-1.5.5.orig/txt2man
++++ txt2man-1.5.5/txt2man
+@@ -139,11 +139,12 @@ do
+ 	p) doprobe=1;;
+ 	I) itxt="$OPTARG�$itxt";;
+ 	B) btxt=$OPTARG;;
+-	T) post="groff -mandoc -Tlatin1 | ${PAGER:-more}";;
++	T) post="groff -mandoc -Tlatin1 | ${PAGER:-pager}";;
+ 	X) post="groff -mandoc -X";;
+ 	*) usage; exit;;
+ 	esac
+ done
++echo $post > /tmp/2222
+ shift $(($OPTIND - 1))
+ date=${date:-$(date +'%d %B %Y')}
+ 
+@@ -162,7 +163,7 @@ then
+ 	rel=$(pwd | sed 's:/.*[^0-9]/::g; s:/.*::g')
+ fi
+ 
+-head=".\\\" Text automatically generated by txt2man
++head="\"Text automatically generated by txt2man
+ .TH $title $section \"$date\" \"$rel\" \"$volume\""
+ 
+ # All tabs converted to spaces
+@@ -170,7 +171,7 @@ expand $* |
+ # gawk is needed because use of non standard regexp
+ gawk --re-interval -v head="$head" -v itxt="$itxt" -v btxt="$btxt" '
+ BEGIN {
+-	print head
++	print ".\\"head
+ 	avar[1] = btxt; avar[2] = itxt
+ 	for (k in avar) {
+ 		mark = (k == 1) ? "\\fB" : "\\fI"
+@@ -186,7 +187,7 @@ BEGIN {
+ }
+ {
+ 	# to avoid some side effects in regexp
+-	sub(/\.\.\./, "\\.\\.\\.")
++	gsub(/\.\.\./, "\\.\\.\\.")
+ 	# remove spaces in empty lines
+ 	sub(/^ +$/,"")
+ }
diff --git a/debian/patches/remove-ksh-check.patch b/debian/patches/remove-ksh-check.patch
new file mode 100644
index 0000000..e4084e7
--- /dev/null
+++ b/debian/patches/remove-ksh-check.patch
@@ -0,0 +1,11 @@
+Remove check for ksh
+Index: txt2man-1.5.5/txt2man
+===================================================================
+--- txt2man-1.5.5.orig/txt2man	2011-04-07 15:04:15.000000000 +0200
++++ txt2man-1.5.5/txt2man	2011-04-07 15:05:54.000000000 +0200
+@@ -1,5 +1,4 @@
+ #!/bin/sh
+-test "$HOME" = ~ || exec ksh $0 "$@"    # try ksh if sh too old (not yet POSIX)
+ 
+ # Copyright (C) 2001, 2002, 2003 Marc Vertes
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e74456b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+remove-ksh-check.patch
+debian-changes-1.5.5-2.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..265b098
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	$(MAKE) txt2man.1 src2man.1 bookman.1
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	# Add here commands to compile the package.
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	# remove generated manpage and stamps
+	$(MAKE)	clean
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	# Add here commands to install the package into debian/txt2man.
+	dh_install txt2man /usr/bin
+	dh_install bookman /usr/bin
+	dh_install src2man /usr/bin
+ 
+binary-arch:
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installmenu
+	dh_installman txt2man.1 src2man.1 bookman.1
+	dh_installchangelogs Changelog
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep 
+.PHONY: build clean binary-indep binary-arch binary install configure binary-arch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2533073
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=3
+http://mvertes.free.fr/download/txt2man-(.*)\.tar\.gz debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/txt2man.git



More information about the Reproducible-commits mailing list