debian/0000755000000000000000000000000012163135443007170 5ustar debian/patches/0000755000000000000000000000000012163132101010603 5ustar debian/patches/30_fix-spelling.patch0000644000000000000000000000274712163132101014541 0ustar Description: fix spelling mistakes in documentation Author: Joe Nahmias Last-Update: 2013-06-27 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- vtprint.orig/COMPAT.tmpl +++ vtprint/COMPAT.tmpl @@ -20,7 +20,7 @@ reported_by : the name of the person reporting this reported_by_email : e-mail address of same person, if available credit [y/n] : whether or not I can include that name along with - the entry so people with similiar set-ups can + the entry so people with similar set-ups can ask for advice if they have difficulty. (This field isn't included in the distributed COMPAT file.) --- vtprint.orig/INSTALL +++ vtprint/INSTALL @@ -6,7 +6,7 @@ * an ANSI C compiler (vtprint won't compile without an ANSI C compiler, but "unprotoize" might solve this) - * UNIX or similiar system with one of termios, termio, or sgtty + * UNIX or similar system with one of termios, termio, or sgtty * about 10 minutes of your time to install vtprint --- vtprint.orig/vtprint.sed +++ vtprint/vtprint.sed @@ -47,7 +47,7 @@ .B \-c Causes \fBvtprint\fP to append any linefeeds (ASCII 0xA) with carriage returns -(ASCII 0xD). This is useful for printing data from a UNIX or similiar +(ASCII 0xD). This is useful for printing data from a UNIX or similar host to an MS-DOS system's printer that expects CR/LF line termination. .TP .B \-C debian/patches/20_add-missing-format-strings.patch0000644000000000000000000000236212163130530017310 0ustar Description: add missing format strings to fprintf() calls This silences the gcc format-security warning "format not a string literal and no format arguments" which Debian treats as an error for hardening purposes. Author: Joe Nahmias Last-Update: 2013-06-27 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- vtprint.orig/vtprint.c +++ vtprint/vtprint.c @@ -549,14 +549,14 @@ if (!strcmp (vtbasename, "vtprton")) { fflush (outfile); - fprintf (outfile, ptr_on); + fprintf (outfile, "%s", ptr_on); fflush (outfile); exit (0); } if (!strcmp (vtbasename, "vtprtoff")) { fflush (outfile); - fprintf (outfile, ptr_off); + fprintf (outfile, "%s", ptr_off); fflush (outfile); exit (0); } @@ -620,7 +620,7 @@ } fflush (outfile); - fprintf (outfile, ptr_on); + fprintf (outfile, "%s", ptr_on); fflush (outfile); while ((ch = fgetc (infile)) != EOF) @@ -649,7 +649,7 @@ fclose (infile); if (ffeed) fputc (FF, outfile); - fprintf (outfile, ptr_off); + fprintf (outfile, "%s", ptr_off); fflush (outfile); cnt++; debian/patches/10_fix-building.patch0000644000000000000000000000407112163112621014514 0ustar Description: Fix Makefile so vtprint builds properly in Debian incorporate DESTDIR use FHS standard paths adjust options to groff fix handling of CFLAGS and LDFLAGS Author: Joe Nahmias Bug-Debian: http://bugs.debian.org/438249 Last-Update: 2013-06-27 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- vtprint-2.0.2.orig/Makefile +++ vtprint-2.0.2/Makefile @@ -37,7 +37,7 @@ # Compiler & compile flags CC = gcc -COMPILE_OPTS = -O -g +#COMPILE_OPTS = -O -g LINK_OPTS = # Default device name @@ -46,7 +46,8 @@ # Library file (vtprintcap) -LIBFILE = /usr/local/lib/vtprint/vtprintcap +#LIBFILE = /usr/local/lib/vtprint/vtprintcap +LIBFILE = /etc/vtprintcap # Termcap location (man page reference) @@ -64,10 +65,10 @@ # System installation directories -MAN1_DIR = /usr/local/man/man$(MAN1_SECT) -MAN5_DIR = /usr/local/man/man$(MAN5_SECT) -BIN_DIR = /usr/local/bin -LIB_DIR = /usr/local/lib/vtprint +MAN1_DIR = $(DESTDIR)/usr/share/man/man$(MAN1_SECT) +MAN5_DIR = $(DESTDIR)/usr/share/man/man$(MAN5_SECT) +BIN_DIR = $(DESTDIR)/usr/bin +LIB_DIR = $(DESTDIR)/etc # User directories (for "make userinstall") @@ -98,7 +99,7 @@ VER_MO = October VER_DY = 25 VER_YR = 1994 -VERSION_DT = $(VER_MO)\ $(VER_DY)\,\ $(VER_YR) +VERSION_DT = $(VER_MO)-$(VER_DY)-$(VER_YR) # Consolidated defines @@ -107,8 +108,8 @@ # Compiler options & flags -CFLAGS = $(DEFINES) $(COMPILE_OPTS) -LDFLAGS = $(LINK_OPTS) +CFLAGS += $(DEFINES) $(COMPILE_OPTS) +LDFLAGS += $(LINK_OPTS) TARGET = vtprint OBJS = \ @@ -150,16 +151,16 @@ man: vtprint.man vtprint.ps vtprintcap.man vtprintcap.ps\ vtprtoff.man vtprtoff.ps - echo Are You a god? Don't forget to make woman also! + echo "Are You a god? Don't forget to make woman also!" woman: echo ... just to be politically correct, I suppose?? FAQ: FAQ.ms FAQ.macros - groff -Tascii -mgs FAQ.ms > FAQ + groff -Tascii -ms FAQ.ms > FAQ FAQ.ps: FAQ.ms FAQ.macros - groff -Tps -mgs FAQ.ms > FAQ.ps + groff -Tps -ms FAQ.ms > FAQ.ps install.man: ./install -d -m 755 $(MAN1_DIR) debian/patches/series0000644000000000000000000000012012163131725012024 0ustar 10_fix-building.patch 20_add-missing-format-strings.patch 30_fix-spelling.patch debian/manpages0000644000000000000000000000004210661201603010673 0ustar vtprint.1 vtprintcap.5 vtprtoff.1 debian/clean0000644000000000000000000000020212163130530010157 0ustar FAQ FAQ.ps vtprint vtprint.1 vtprint.man vtprint.ps vtprintcap.5 vtprintcap.man vtprintcap.ps vtprtoff.1 vtprtoff.man vtprtoff.ps debian/watch0000644000000000000000000000011312163130520010203 0ustar version=3 http://sf.net/vtprint/vtprint-(.*).tar.gz debian git-import-orig debian/copyright0000644000000000000000000000216612163130520011117 0ustar This package was debianized by Johnie Ingram (johnie@debian.org) on Wed, 4 Dec 1996 14:43:59 -0500. It was downloaded from ftp://ftp.sdsu.edu/pub/vtprint/vtprint-2.0.2.tar.gz. This package was previously maintained by Rich Sahlender , and is now maintained by Joe Nahmias . The new homepage location for vtprint is: . COPYRIGHT vtprint is copyrighted 1994, by Garrett D'Amore. It may be freely redistributed or modified, so long as this and any other copyright notices are included in their original form with the program. The user is granted the right to use this program without limitation. DISCLAIMER vtprint is provided WITHOUT WARRANTY. The user agrees to indemnify the author from any claims of damage or loss arising from the use of or inability to use this program. In other words, USE AT YOUR OWN RISK! Modifications for Debian are copyright (C) 1996-1998 Johnie Ingram, and released under the terms of the GPL -- version 2, or any later version. On Debian GNU/Linux systems, the text of the GPL can be found in /usr/share/common-licenses. debian/install0000644000000000000000000000004212163130530010545 0ustar vtprint usr/bin/ vtprintcap etc/ debian/examples0000644000000000000000000000001110661201603010712 0ustar testfile debian/docs0000644000000000000000000000020410661201603010030 0ustar ANNOUNCE COMPAT COMPAT.tmpl FAQ FAQ.ps README WHATSNEW vtprint.man vtprint.ps vtprintcap.man vtprintcap.ps vtprtoff.man vtprtoff.ps debian/control0000644000000000000000000000123512163134176010576 0ustar Source: vtprint Section: text Priority: optional Maintainer: Joe Nahmias Build-Depends: debhelper (>> 9), groff Standards-Version: 3.9.4 Homepage: http://vtprint.sourceforge.net/ VCS-Browser: http://anonscm.debian.org/git/collab-maint/vtprint.git VCS-Git: git://anonscm.debian.org/collab-maint/vtprint.git Package: vtprint Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Prints to term emulator via ANSI codes This program allows users to print from a remote UNIX host to a printer attached to their local terminal or emulator, which makes it great for printing files at home, etc. (It only does text files, though.) debian/rules0000755000000000000000000000055312163130707010251 0ustar #!/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 override_dh_auto_build: $(MAKE) vtprint man woman FAQ FAQ.ps override_dh_auto_test: true # Don't print a test page override_dh_installchangelogs: dh_installchangelogs CHANGELOG %: dh $@ debian/links0000644000000000000000000000017410661201603010226 0ustar usr/bin/vtprint usr/bin/vtprtoff usr/bin/vtprint usr/bin/vtprton usr/share/man/man1/vtprtoff.1 usr/share/man/man1/vtprton.1 debian/compat0000644000000000000000000000000212163130530010356 0ustar 9 debian/changelog0000644000000000000000000000746312163135430011050 0ustar vtprint (2.0.2-13) unstable; urgency=low * convert package to 3.0 (quilt) source format * Update location of upstream source + update d/copyright. + d/control: add new Homepage URL + fix d/watch to scan sf network (Closes: #460005) * Add git VCS headers to d/control * add missing format strings to fprintf() calls * move to debhelper v9 * Minimize d/rules using dh(1) * fix spelling mistakes in documentation * bump std-ver to 3.9.4, no further changes needed -- Joe Nahmias Thu, 27 Jun 2013 18:22:16 -0400 vtprint (2.0.2-12) unstable; urgency=low * Remove -s from LINK_OPTS in upstream Makefile so that nostrip can work, closes: #438249. Thanks for the report! * Bumped std-ver, no changes. -- Joe Nahmias Thu, 16 Aug 2007 22:11:32 -0400 vtprint (2.0.2-11) unstable; urgency=low * Updated maintainer email. * Bumped std-ver, no changes. -- Joe Nahmias Mon, 16 Feb 2004 20:17:01 -0500 vtprint (2.0.2-10) unstable; urgency=low * Upload sponsored by David Schleef * New Maintainer, closes: #120023. * Convert package to use debhelper. * debian/control (Std-Ver): 3.6.0. * debian/control (Build-Dep): added debhelper, groff; closes: #190617. -- Joe Nahmias Tue, 19 Aug 2003 01:19:21 -0400 vtprint (2.0.2-9) unstable; urgency=low * Per NMU Closes: Bug#91080, Bug#91684, Bug#100337 * Remove emacs settings from changelog to quiet lintian * Orphan package -- Rich Sahlender Sun, 18 Nov 2001 13:54:03 -0500 vtprint (2.0.2-8.1) unstable; urgency=low * FHS transition * Non maintainer Upload * a rebuild seems to have fixed the FHS issues * changed copyright file to reflect newer location of GPL * removed INSTALL file from /usr/share/doc/vtprint * added -isp flags to dpkg-gencontrol to create Section and Priority fields * used the patch from Stephen Stafford Sat, 9 Jun 2001 22:29:41 +0100 which * closes: #100337 and * closes: #91684 and * closes: #91080 -- Andreas Tille Thu, 05 Jul 2001 01:20:15 +0200 vtprint (2.0.2-8) unstable; urgency=low * New Maintainer. -- Rich Sahlender Sun, 8 Mar 1998 23:47:34 -0500 vtprint (2.0.2-7) unstable; urgency=low * Corrected year info in copyright file. * Updated to Standards-Version 2.4.0.0. -- Johnie Ingram Tue, 3 Feb 1998 14:45:45 -0500 vtprint (2.0.2-6) unstable; urgency=low * Updated to Standards-Version 2.3.0.1 with debmake 3.5.8. -- Johnie Ingram Tue, 3 Feb 1998 14:39:54 -0500 vtprint (2.0.2-5) unstable; urgency=low * Tweaked packaging for better multi-architecture support. * Switched to pristine source tar archive. * Updated to Standards-Version 2.2.0.0 with debmake 3.3.12. -- Johnie Ingram Sun, 31 Aug 1997 01:08:34 -0400 vtprint (2.0.2-4) unstable; urgency=low * Updated to Standards-Version 2.1.3.2 with debmake 3.3.3. * Linked against libc6. -- Johnie Ingram Sun, 1 Jun 1997 14:58:02 -0400 vtprint (2.0.2-3) stable unstable; urgency=low * Added file checksums and tweaked rules file for current debmake (3.2.2). -- Johnie Ingram Mon, 30 Dec 1996 16:48:33 -0500 vtprint (2.0.2-2) stable unstable; urgency=low * Minor tweaks to copyright info and build procedure. * Updated to Standards-Version 2.1.2.2 with debmake 2.41. * Dependency changed to allow use of libc5 from stable distribution. * Fixed permissions on /etc/vtprintcap (no longer an executable). -- Johnie Ingram Sun, 29 Dec 1996 01:34:09 -0500 vtprint (2.0.2-1) unstable; urgency=low * Initial Release. -- Johnie Ingram Sun, 8 Dec 1996 23:31:09 -0500 debian/source/0000755000000000000000000000000012163112256010465 5ustar debian/source/format0000644000000000000000000000001412163054143011673 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612163130530010576 0ustar [DEFAULT] pristine-tar = true