debian/0000755000000000000000000000000012171001156007160 5ustar debian/changelog0000644000000000000000000000562412171001151011034 0ustar pfb2t1c2pfb (0.3-10) unstable; urgency=low * Patch by Péter Szabó for pfb2t1c (crash when invalid content is processed) (Closes: #716508). * Updated Standards-Version, no changes needed -- Hilmar Preuße Mon, 15 Jul 2013 16:03:42 +0200 pfb2t1c2pfb (0.3-9) unstable; urgency=low * Enable hardening flags (thanks to Simon Ruderich for patch) (Closes: #662827) -- Hilmar Preuße Wed, 07 Mar 2012 10:02:58 +0100 pfb2t1c2pfb (0.3-8) unstable; urgency=low * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". * Update to Standards-Version to 3.9.3 and debhelper to 9. Thanks to Jari Aalto for the work. -- Hilmar Preuße Wed, 29 Feb 2012 08:36:14 -0500 pfb2t1c2pfb (0.3-7) unstable; urgency=low * Fix some linitan warnings: - debhelper-but-no-misc-depends - ancient-standards-version - patch-system-but-no-source-readme - add build-arch and build-indep target in debian/rules -- Hilmar Preuße Mon, 12 Sep 2011 16:14:43 +0200 pfb2t1c2pfb (0.3-6) unstable; urgency=low * fix package-uses-deprecated-debhelper-compat-version warning from lintian -- Hilmar Preuße Mon, 09 Mar 2009 16:31:58 +0100 pfb2t1c2pfb (0.3-5) unstable; urgency=low * don't apply patch from 0.3-4 unconditionally, leave the job to dpatch * bump standards version to 3.7.3, no changes necessary * recode copyright to utf8 -- Hilmar Preuße Tue, 22 Apr 2008 14:52:35 +0200 pfb2t1c2pfb (0.3-4) unstable; urgency=low * don't call gcc with option -s to prevent unwanted stripping of binaries (Closes: #437770) -- Hilmar Preuße Tue, 14 Aug 2007 17:51:39 +0200 pfb2t1c2pfb (0.3-3) unstable; urgency=low * introduce the binary-indep target in debian/rules (Closes: #395767) * Bumped Standards-Version 3.7.2.2, no changes needed. -- Hilmar Preuße Mon, 11 Dec 2006 16:34:05 +0100 pfb2t1c2pfb (0.3-2) unstable; urgency=low * package is again lintian clean -- Hilmar Preuße Mon, 23 Oct 2006 18:06:29 +0200 pfb2t1c2pfb (0.3-1) unstable; urgency=low * copyright statement finally clarified (GPL), see readme.lic(.asc) * "upstream changelog" added * package is lintian clean * first upload into Debian (closes: #337315) -- Hilmar Preuße Tue, 15 Nov 2005 14:07:54 +0100 pfb2t1c2pfb (0.2-1) unstable; urgency=low * No change in upstream functionality, just a statement that it freeware and may be distributed and modified (with permission from the author). * Added man page by Norbert Preining * Modified copyright file and description * Tried to kill some lintian warnings -- Hilmar Preuße Thu, 6 Oct 2005 15:08:26 +0200 pfb2t1c2pfb (0.1-1) unstable; urgency=low * Initial Release. -- Hilmar Preuße Fri, 30 Sep 2005 19:39:16 +0200 debian/copyright0000644000000000000000000000207311725240340011121 0ustar This package was debianized by Hilmar Preusse on Fri, 30 Sep 2005 19:39:16 +0200. It was downloaded from http://alioth.debian.org/projects/pkg-pfb2t1c2pfb/ Copyright 2003 Szabó Péter License: GPL (see readme.lic(.asc) for a statement of the upstream author) pfb2t1c2pfb 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, or (at your option) any later version. pfb2t1c2pfb 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 with your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the pfb2t1c2pfb source package provide by Debian as the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. debian/dirs0000644000000000000000000000001011725240340010037 0ustar usr/bin debian/patches/0000755000000000000000000000000012170776626010633 5ustar debian/patches/01_no_strip.patch0000644000000000000000000000160011725346767014012 0ustar From: Hilmar Preusse Subject: don't strip files upon compiling --- ./pfb2t1c.c 2005-11-15 11:28:07.000000000 +0100 +++ ./pfb2t1c.c 2007-08-14 17:45:42.000000000 +0200 @@ -1,6 +1,6 @@ #define DUMMY \ set -ex; \ -gcc -DNDEBUG=1 -s -O3 -ansi -pedantic \ +gcc -DNDEBUG=1 -O3 -ansi -pedantic \ -Wall -W -Wstrict-prototypes -Wnested-externs -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ -Wmissing-declarations "$0" -o pfb2t1c; \ --- ./t1c2pfb.c 2005-11-15 11:28:28.000000000 +0100 +++ ./t1c2pfb.c 2007-08-14 17:45:49.000000000 +0200 @@ -1,6 +1,6 @@ #define DUMMY \ set -ex; \ -gcc -DNDEBUG=1 -s -O3 -ansi -pedantic \ +gcc -DNDEBUG=1 -O3 -ansi -pedantic \ -Wall -W -Wstrict-prototypes -Wnested-externs -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ -Wmissing-declarations "$0" -o t1c2pfb; \ debian/patches/series0000644000000000000000000000007712170776626012054 0ustar #01_no_strip.patch 02_use_dpkg_buildflags.patch 03_crash.patch debian/patches/02_use_dpkg_buildflags.patch0000644000000000000000000000237211725622406016145 0ustar Description: Use build flags from the environment (dpkg-buildflags). Author: Simon Ruderich Last-Update: 2012-03-06 Index: pfb2t1c2pfb-0.3/t1c2pfb.c =================================================================== --- pfb2t1c2pfb-0.3.orig/t1c2pfb.c 2012-03-06 18:25:35.000000000 +0100 +++ pfb2t1c2pfb-0.3/t1c2pfb.c 2012-03-06 18:26:27.694179405 +0100 @@ -1,6 +1,6 @@ #define DUMMY \ set -ex; \ -gcc -DNDEBUG=1 -s -O3 -ansi -pedantic \ +gcc -DNDEBUG=1 $CFLAGS $CPPFLAGS $LDFLAGS -O3 -ansi -pedantic \ -Wall -W -Wstrict-prototypes -Wnested-externs -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ -Wmissing-declarations "$0" -o t1c2pfb; \ Index: pfb2t1c2pfb-0.3/pfb2t1c.c =================================================================== --- pfb2t1c2pfb-0.3.orig/pfb2t1c.c 2012-03-06 18:25:35.000000000 +0100 +++ pfb2t1c2pfb-0.3/pfb2t1c.c 2012-03-06 18:26:27.694179405 +0100 @@ -1,6 +1,6 @@ #define DUMMY \ set -ex; \ -gcc -DNDEBUG=1 -s -O3 -ansi -pedantic \ +gcc -DNDEBUG=1 $CFLAGS $CPPFLAGS $LDFLAGS -O3 -ansi -pedantic \ -Wall -W -Wstrict-prototypes -Wnested-externs -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ -Wmissing-declarations "$0" -o pfb2t1c; \ debian/patches/03_crash.patch0000644000000000000000000000111412170776611013245 0ustar From: Szabó Péter Subject: Bug#716508 --- pfb2t1c2pfb-0.3.orig/pfb2t1c.c +++ pfb2t1c2pfb-0.3/pfb2t1c.c @@ -68,6 +68,9 @@ int main(int argc, char** argv) { fprintf(stderr, "pfb2t1c: bad block header -- maybe not a .pfb\n"); exit(2); } len=2[(unsigned char*)t] | 3[(unsigned char*)t]<<8 | 4[(unsigned char*)t]<<16 | 5[(unsigned char*)t]<<24; + if (len+6 Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 Package: pfb2t1c2pfb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: convert pfb into more compressible format and back The package contains the two small tools pfb2t1c and t1c2pfb. pfb file (PostScript Type1) can be converted into t1c and back without losing information. The t1c files have the same size but are more compressible. . This feature is very useful when packaging PostScript Type1 fonts. debian/rules0000755000000000000000000000312111725622015010244 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build-indep: build-arch: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) -f debian/rules t1c2pfb pfb2t1c touch build-stamp pfb2t1c: pfb2t1c.c; sh $< t1c2pfb: t1c2pfb.c; sh $< clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -f pfb2t1c t1c2pfb dh_clean install: build-arch dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/pfb2t1c2pfb. install pfb2t1c t1c2pfb $(CURDIR)/debian/pfb2t1c2pfb/usr/bin # Build architecture-dependent files here. binary-arch: build-arch install dh_testdir dh_testroot dh_installchangelogs Changelog dh_installdocs readme.lic* dh_installman pfb2t1c.1 dh_link usr/share/man/man1/pfb2t1c.1 usr/share/man/man1/t1c2pfb.1 dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture-independent files here. binary-indep: build-indep install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/compat0000644000000000000000000000000211725346767010406 0ustar 9 debian/source/0000755000000000000000000000000011725346767010510 5ustar debian/source/format0000644000000000000000000000001411725346767011716 0ustar 3.0 (quilt)