unrtf_0.21.2-1.diff, which can be used to compile a debian package from unrtf-0.21.2 source:
--- unrtf-0.21.2.orig/debian/unrtf.mime +++ unrtf-0.21.2/debian/unrtf.mime @@ -0,0 +1 @@ +application/rtf; unrtf --text %s ; copiousoutput; description=RTF Document; print=unrtf --text %s | print text/plain:- --- unrtf-0.21.2.orig/debian/watch +++ unrtf-0.21.2/debian/watch @@ -0,0 +1,5 @@ +# 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 +ftp.gnu.org /pub/gnu/unrtf unrtf-(.*)\.tar\.gz debian uupdate --- unrtf-0.21.2.orig/debian/dirs +++ unrtf-0.21.2/debian/dirs @@ -0,0 +1 @@ +/usr/bin --- unrtf-0.21.2.orig/debian/copyright +++ unrtf-0.21.2/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Christian Surchi <csur...@debian.org> on +Sat, 2 Mar 2002 19:42:00 +0100. + +rtf2htm was debianized by Dr. Guenter Bechly <gbec...@debian.org> on +Thu, 28 Dec 2000 20:03:00 +0100. + +The Debian maintainer is Christian Surchi <csur...@debian.org> + + +It was downloaded from ftp://ftp.gnu.org/pub/gnu/unrtf/ + +Upstream Author: Dave Davey <da...@physiol.usyd.edu.au> + Marcos S. Amaral <marcossama...@terra.com.br> + Zachary Thayer Smith <tuo...@yahoo.com> + + +Copyright: (C) 2000,2001 Zachary Thayer Smith + +You are free to distribute this software under the terms of +the GNU General Public Licence. + +On Debian systems, the complete text of the GNU General Public +Licence can be found in /usr/share/common-licenses/GPL file. + --- unrtf-0.21.2.orig/debian/control +++ unrtf-0.21.2/debian/control @@ -0,0 +1,18 @@ +Source: unrtf +Section: text +Priority: optional +Maintainer: Christian Surchi <csur...@debian.org> +Build-Depends: debhelper (>> 3.0.0) +Standards-Version: 3.6.1 + +Package: unrtf +Architecture: any +Depends: ${shlibs:Depends} +Replaces: rtf2htm +Conflicts: rtf2htm +Description: RTF to other formats converter + UnRTF is a moderately complicated converter from RTF to other + formats, including HTML, LaTeX, text, and PostScript. Converting + to HTML, it supports tables, fonts, colors, embedded images, + hyperlinks, paragraph alignment among other things. All other + conversions are "alpha"--just begun. --- unrtf-0.21.2.orig/debian/rules +++ unrtf-0.21.2/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=3 + +# 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) + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/unrtf.sgml > unrtf.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/unrtf. + $(MAKE) install DESTDIR=$(CURDIR)/debian/unrtf + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf +# dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam + dh_installmime +# dh_installinit +# dh_installcron + dh_installman doc/unrtf.1 +# dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- unrtf-0.21.2.orig/debian/docs +++ unrtf-0.21.2/debian/docs @@ -0,0 +1,6 @@ +README +NEWS +COPYING +AUTHORS +tests/ + --- unrtf-0.21.2.orig/debian/changelog +++ unrtf-0.21.2/debian/changelog @@ -0,0 +1,131 @@ +unrtf (0.21.2-1) unstable; urgency=HIGH + + * Updated to source package 0.21.2 + + -- Jon Snell <jsn...@networkninja.com> Thu, 3 Nov 2011 16:00:43 -0500 + +unrtf (0.19.3-1.1) unstable; urgency=HIGH + + * NMU + * Fix buffer overflow in process_font_table (CAN-2004-1297) Closes: #287038 + + -- Joey Hess <jo...@debian.org> Sat, 25 Dec 2004 20:07:43 -0500 + +unrtf (0.19.3-1) unstable; urgency=low + + * New upstream release + * Closes: #227730: binaries removed + * Closes: #227731: new mime entry + * Closes: #225592: null pointer param in convert.c + + -- Christian Surchi <csur...@debian.org> Wed, 2 Jun 2004 19:41:55 +0200 + +unrtf (0.19.0-1) unstable; urgency=low + + * New upstream release + * Let's acknoledge changes from NMUs + * Closes: #195061: FTBFS with gcc-3.3: Uses multiline strings + * Closes: #140824: unrtf segfaults with a particular file + * Closes: #145027: segfault on large rtf file + * Closes: #210930: segfault with + http://www.wizards.com/d20/files/v35/Races.rtf + * Closes: #215102: dumps core on given file + + -- Christian Surchi <csur...@debian.org> Sat, 27 Dec 2003 16:58:09 +0100 + +unrtf (0.18.1-2.3) unstable; urgency=low + + * Decreased MAX_ATTRS to 10000, this clears up segfaults that seem to be + because it's too large. Closes: #210930, #215102 + + -- Joey Hess <jo...@debian.org> Tue, 28 Oct 2003 16:08:03 -0500 + +unrtf (0.18.1-2.2) unstable; urgency=low + + * NMU + * Increased MAX_FONTS from 256 to 8192 to avoid segfaulting on documents + with many fonts. Of course this should not be a hardcoded limit at all. + Closes: #140824 + * Increased MAX_ATTRS from 1000 to 100000 to avoid segfaulting on other + documents. + Closes: #145027 + * Increased MAX_COLORS from 256 to 1024 on general principles. + + -- Joey Hess <jo...@debian.org> Sun, 31 Aug 2003 20:37:50 -0400 + +unrtf (0.18.1-2.1) unstable; urgency=low + + * NMU. Debcamp BSP + * Patched ps.c to fix build problems with GCC 3.3 + Thanks Jakob Hilmer for the patch (Closes: #195061) + + -- Alberto Gonzalez Iniesta <a...@agi.as> Mon, 14 Jul 2003 15:34:21 +0200 + +unrtf (0.18.1-2) unstable; urgency=low + + * Added mime-support (Thanks to Horms) (Closes:#130865,#138852) + + -- Christian Surchi <csur...@debian.org> Sun, 24 Mar 2002 17:56:42 +0100 + +unrtf (0.18.1-1) unstable; urgency=low + + * New upstream release, package name changed from rtf2htm to unrtf + (Closes:#128721,#135950) + + -- Christian Surchi <csur...@debian.org> Sat, 2 Mar 2002 19:42:00 +0100 + +rtf2htm (0.13.2-1) unstable; urgency=low + + * New upstream release + * New maintainer (Closes: #100258) + + -- Christian Surchi <csur...@debian.org> Sun, 10 Jun 2001 16:20:44 +0200 + +rtf2htm (0.13.1-1) unstable; urgency=low + + * New upstream release. + * Deleted DOS and Windows binaries. + * Again removed the original manpage which is still broken, and which is + here again replaced by an updated Debian specific manpage. + + -- Dr. Guenter Bechly <gbec...@debian.org> Sun, 22 Apr 2001 13:02:59 +0200 + +rtf2htm (0.12.8-1) unstable; urgency=low + + * New upstream release. + * Removed the precompiled windows binary and the broken original manpage + from the sources. + * Fixed Makefile again. + * Merged the content of the (totally broken) original manpage with Debian's + manpage for this utility. + * Corrected control, copyright, docs, and rules file for this new release. + * Removed the obsolete README.Debian file. + * Updated to the latest standards version. + + -- Dr. Guenter Bechly <gbec...@debian.org> Mon, 9 Apr 2001 19:32:38 +0200 + +rtf2htm (0.12.7-4) unstable; urgency=low + + * Corrected typo in copyright file. + + -- Dr. Guenter Bechly <gbec...@debian.org> Thu, 29 Mar 2001 13:39:58 +0200 + +rtf2htm (0.12.7-3) unstable; urgency=low + + * Removed useless menu entry; closes: #85889 + + -- Dr. Guenter Bechly <gbec...@debian.org> Wed, 14 Feb 2001 19:15:48 +0100 + +rtf2htm (0.12.7-2) unstable; urgency=low + + * Just a clean-up of the source package. + + -- Dr. Guenter Bechly <gbec...@debian.org> Thu, 11 Jan 2001 23:01:49 +0100 + +rtf2htm (0.12.7-1) unstable; urgency=low + + * Initial Release, closes: Bug #80791. + * Adjusted the Makefile to fix $DESTDIR problems. + * Wrote a manpage. + + -- Dr. Guenter Bechly <gbec...@debian.org> Thu, 28 Dec 2000 20:03:00 +0100 + -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org