debian/0000775000000000000000000000000012533420136007167 5ustar debian/changelog0000664000000000000000000002010112533417534011043 0ustar t1utils (1.37-2ubuntu1.1) trusty-security; urgency=medium * SECURITY UPDATE: denial of service and possible arbitrary code execution via a crafted PFB font file - debian/patches/0001-Security-fixes.patch: Dynamically allocate a buffer of sufficient size. Based on upstream patch. - CVE-2015-3905 -- Tyler Hicks Tue, 02 Jun 2015 16:23:59 -0500 t1utils (1.37-2ubuntu1) saucy; urgency=low * Use dh_autotools-dev to update config.{sub,guess} for AArch64. -- Matthias Klose Thu, 10 Oct 2013 18:39:18 +0200 t1utils (1.37-2) unstable; urgency=low * Bug fix: "Please remove history discussion from the package description", thanks to Adrian Bunk (Closes: #642200). * Update Debian Standards-Version to 3.9.3.0 (no code changes). * Adds build-arch and build-indep targets to debian/rules. * Add hardening directives. -- C.M. Connelly Sat, 30 Jun 2012 12:50:32 -0700 t1utils (1.37-1) unstable; urgency=low * New upstream release * Fixes a bug with handling large characters. * Update Debian Standards-Version 3.9.1.0 (no code changes). -- C.M. Connelly Wed, 07 Sep 2011 12:01:09 -0700 t1utils (1.36-1) unstable; urgency=low * New upstream release. * Minor code cleanups; support for --enable-multiplatform switch. * Update Debian Standards-Version to 3.8.4 (no code changes). * Add debian/sources/format (3.0 (quilt)). * debian/control: Update Depends for debhelper. -- C.M. Connelly Wed, 02 Jun 2010 11:40:25 -0700 t1utils (1.35-1) unstable; urgency=low * New upstream release. * Fixes FTBS problem discovered in Ubuntu. (Closes: #551523) -- C.M. Connelly Thu, 29 Oct 2009 20:44:07 -0700 t1utils (1.34-2) unstable; urgency=low * Add versioned dependency on debhelper to satisfy lintian. * Add debian/watch file. * Update Standards-Version to 3.8.3. No code changes. -- C.M. Connelly Tue, 25 Aug 2009 00:45:59 -0700 t1utils (1.34-1) unstable; urgency=low * New upstream release. * Update Standards-Version to 3.8.1. No code changes. -- C.M. Connelly Mon, 13 Apr 2009 12:11:39 -0700 t1utils (1.33-2) unstable; urgency=low * Update Standards-Version to 3.8.0. No code changes. -- C.M. Connelly Thu, 19 Feb 2009 12:10:29 -0800 t1utils (1.33-1) unstable; urgency=low * New upstream release. Fixes signedness comparison warnings during compilation. -- C.M. Connelly Thu, 10 Jan 2008 12:43:10 -0800 t1utils (1.32-2) unstable; urgency=low * Update Standards-Version in debian/control (no code changes required). * Add Homepage field in debian/control * Update Description field in debian/control * Clean up/modernize debian/rules. * Fix cleaning rules in debian/rules. * Fix installation clause so we actually install component programs. * Add debian/compat file to support current version of debhelper. * Drop unneeded debian/dirs file. -- C.M. Connelly Mon, 07 Jan 2008 15:04:30 -0800 t1utils (1.32-1) unstable; urgency=medium * New upstream release * Fixes memory corruption bug -- C.M. Connelly Tue, 2 Mar 2004 09:25:34 -0800 t1utils (1.31-1) unstable; urgency=low * New upstream release * Support fonts where the first eexec-encrypted byte is binary 0 -- C.M. Connelly Thu, 19 Feb 2004 21:01:09 -0800 t1utils (1.30-1) unstable; urgency=low * New upstream release * Support fonts where "currentfile eexec" isn't followed by a newline -- C.M. Connelly Sun, 25 Jan 2004 22:48:46 -0800 t1utils (1.29-1) unstable; urgency=low * New upstream release * t1disasm: handles Omega font -- C.M. Connelly Mon, 13 Oct 2003 18:41:03 -0700 t1utils (1.28-1) unstable; urgency=low * New upstream release * Fix some built problems experienced by some users * Upgraded Standards-Version to 3.6.1.0 -- C.M. Connelly Tue, 2 Sep 2003 23:34:20 -0700 t1utils (1.27-1) unstable; urgency=low * New upstream release * Updated Standards-Version to 3.5.9.0 -- C.M. Connelly Mon, 31 Mar 2003 17:14:49 -0800 t1utils (1.26-2) unstable; urgency=low * Updated Standards-Version to 3.5.8.0 * debian/control: Removed period at end of Description line -- C.M. Connelly Thu, 30 Jan 2003 14:14:54 -0800 t1utils (1.26-1) unstable; urgency=low * New upstream release -- C.M. Connelly Tue, 23 Apr 2002 20:18:13 -0700 t1utils (1.25-1) unstable; urgency=medium * New upstream release * Fixes a buglet in t1asm reported by Luc Deroye; see /usr/share/doc/t1utils/changelog.gz for more details -- C.M. Connelly Tue, 8 Jan 2002 09:28:41 -0800 t1utils (1.24-1) unstable; urgency=low * New upstream release * More changes to fix compilation bugs on various platforms -- C.M. Connelly Mon, 10 Sep 2001 13:25:23 -0700 t1utils (1.23-3) unstable; urgency=low * debian/copyright: Changed upstream author line to make new version of lintian (1.20.14) happy -- C.M. Connelly Fri, 31 Aug 2001 16:39:47 -0700 t1utils (1.23-2) unstable; urgency=low * debian/rules: Use dh_installchangelogs to install upstream changelog * debian/control: Update Standards-Version to 3.5.6.0 -- C.M. Connelly Mon, 20 Aug 2001 10:18:09 -0700 t1utils (1.23-1) unstable; urgency=low * New upstream release -- fixes problem with MacBinary CRC * Updated to Standards-Version 3.5.5.0 * Added code to debian/rules to install NEWS file as changelog.gz * Add Build-Depends for debhelper * Re-enable warnings -- C.M. Connelly Mon, 18 Jun 2001 18:35:59 -0700 t1utils (1.22-1) unstable; urgency=high * New upstream release * Fixes a serious bug in handling PFA fonts with DOS line endings. This bug can cause font corruption, and has been present since Version 1.13. Reported by Han The Thanh * Updated Standards-Version * Dropped INSTALL file from docs -- C.M. Connelly Tue, 6 Mar 2001 16:08:08 -0800 t1utils (1.21-1) unstable; urgency=low * New upstream release * Fixes some small, noncritical bugs in t1ascii, t1asm, and t1unmac. See the NEWS file (in /usr/share/doc/t1utils) for more information. * Updated README.Debian * Removed TODO from debian/docs -- C.M. Connelly Mon, 12 Feb 2001 14:16:21 -0800 t1utils (1.20-1) unstable; urgency=low * New maintainer: C.M. Connelly * Closes: #61803 -- C.M. Connelly Sat, 4 Nov 2000 15:59:44 -0800 t1utils (1.20-1) unstable; urgency=low * New upstream release -- C.M. Connelly Fri, 23 Jun 2000 14:42:07 -0700 t1utils (1.18-1) unstable; urgency=low * New upstream release -- C.M. Connelly Tue, 2 May 2000 15:05:11 -0700 t1utils (1.17-1) unstable; urgency=low * Package created from scratch based on Eddie Kohler's source * Local package to replace old package in archive -- C.M. Connelly Fri, 28 Apr 2000 14:18:55 -0700 t1utils (1.2-3) unstable; urgency=low * Upgraded to policy 3.0.1, in particular documentation moved to /usr/share (with the for potato required /usr/doc/t1utils -> /usr/share/doc/t1utils symbolic link management). * t1asm.c: Fixed int/size_t conflicts and a format error. -- Kristoffer H. Rose Thu, 7 Oct 1999 14:17:50 +0200 t1utils (1.2-2) unstable; urgency=low * Patch for glibc 2.1 donated by Hartmut Koptein incorporated. * Manual pages made mode 644 as required by policy. -- Kristoffer H. Rose Mon, 18 Jan 1999 13:53:51 +0100 t1utils (1.2) unstable; urgency=low * New upstream version. -- Kristoffer H. Rose Mon, 16 Nov 1998 17:32:19 +0100 t1utils (1.1a-1) unstable; urgency=low * Initial Release. * Note: the upstream Makefile uses HOME instead of DESTDIR. -- Kristoffer H. Rose Thu, 12 Nov 1998 13:21:40 +0100 debian/docs0000664000000000000000000000000711773650453010053 0ustar README debian/control0000664000000000000000000000444412533420120010571 0ustar Source: t1utils Section: text Priority: optional Homepage: http://www.lcdf.org/type/ Maintainer: Ubuntu Developers XSBC-Original-Maintainer: C.M. Connelly Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.16.1~), autotools-dev Standards-Version: 3.9.3.0 Package: t1utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Collection of simple Type 1 font manipulation programs The t1utils tools allow you to convert between PFA (ASCII) and PFB (binary) formats; disassemble PFA or PFB files into human-readable form; and reassemble the human-readable files into PFA or PFB format files. You can also extract font resources from a Macintosh font file (ATM/Laserwriter), or create a Macintosh Type 1 font file from a PFA or PFB font. . There are currently six programs: . t1ascii Converts PFB files to PFA format. . t1binary Converts PFA files to PFB format. . t1disasm Disassembles a Type 1 font (PFA or PFB format) into a raw, human-readable text form for subsequent hand editing, tweaking, hint fixing, etcetera... . t1asm Assembles a Type 1 font into PFA or PFB format from the human-readable form produced by t1disasm. . t1unmac Extracts POST resources from a Macintosh Type 1 font file (ATM/Laserwriter) into PFA or PFB format for use outside the Macintosh environment. The Macintosh file should be stored in MacBinary, AppleSingle, AppleDouble, or BinHex format, or as a raw resource fork. Note that t1unmac does not have to run on a Macintosh, but makes Macintosh Type 1 fonts available for use on Unix machines and PCs. . t1mac Creates a Macintosh Type 1 file from a PFA- or PFB-format Type 1 font. Writes the Macintosh file in MacBinary, AppleSingle, AppleDouble, or BinHex format, or as a raw resource fork. WARNING: This tool will not suffice to allow you to use the new font on a Macintosh, as Macintoshes cannot read raw Type 1 fonts. You will need to create a font suitcase containing bitmap fonts. If you do not already have such a suitcase for the font, T1utils will not help you create one. debian/compat0000664000000000000000000000000211773650453010401 0ustar 5 debian/copyright0000664000000000000000000000172711773650453011145 0ustar This package was debianized by C.M. Connelly on Fri, 28 Apr 2000 01:01:38 -0700. It was downloaded from The upstream author is Eddie Kohler . Copyright: The README file includes the following notices: Changes since version 1.2 (c) 1998-2000 Eddie Kohler, under the same redistribution copyright as I. Lee Hetherington's. See below for I. Lee Hetherington's original README from 1992, updated slightly for today's t1utils. Eddie Kohler eddietwo@lcs.mit.edu Copyright (c) 1992 by I. Lee Hetherington, all rights reserved. Permission is hereby granted to use, modify, and distribute this program for any purpose provided this copyright notice and the one below remain intact. Note that these tools should not be used to illegally copy type-1 font programs. Typeface design is an intricate art that should be rewarded. I. Lee Hetherington ilh@lcs.mit.edu debian/source/0000775000000000000000000000000011773655314010504 5ustar debian/source/format0000664000000000000000000000001411773650453011711 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012533417337010627 5ustar debian/patches/series0000664000000000000000000000003212533417337012037 0ustar 0001-Security-fixes.patch debian/patches/0001-Security-fixes.patch0000664000000000000000000002573512533417337015165 0ustar From 6b9d1aafcb61a3663c883663eb19ccdbfcde8d33 Mon Sep 17 00:00:00 2001 From: Eddie Kohler Date: Thu, 26 Feb 2015 15:34:00 -0500 Subject: [PATCH] Security fixes. - Don't overflow the small cs_start buffer (reported by Niels Thykier via the debian tracker (Jakub Wilk), found with a fuzzer ("American fuzzy lop")). - Cast arguments to functions to unsigned char. Origin: upstream, https://github.com/kohler/t1utils/commit/6b9d1aafcb61a3663c883663eb19ccdbfcde8d33 --- Makefile.am | 4 ++-- t1asm.c | 40 +++++++++++++--------------------------- t1asmhelp.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ t1disasm.c | 41 +---------------------------------------- t1lib.c | 14 ++++++++------ t1mac.c | 9 +++++---- 6 files changed, 77 insertions(+), 79 deletions(-) create mode 100644 t1asmhelp.h Index: t1utils-1.37/Makefile.am =================================================================== --- t1utils-1.37.orig/Makefile.am +++ t1utils-1.37/Makefile.am @@ -9,9 +9,9 @@ t1ascii_SOURCES = include/lcdf/clp.h inc t1binary_SOURCES = include/lcdf/clp.h include/lcdf/inttypes.h \ clp.c t1lib.h t1lib.c t1binary.c t1asm_SOURCES = include/lcdf/clp.h include/lcdf/inttypes.h \ - clp.c t1lib.h t1lib.c t1asm.c + clp.c t1lib.h t1asmhelp.h t1lib.c t1asm.c t1disasm_SOURCES = include/lcdf/clp.h include/lcdf/inttypes.h \ - clp.c t1lib.h t1lib.c t1disasm.c + clp.c t1lib.h t1asmhelp.h t1lib.c t1disasm.c t1unmac_SOURCES = include/lcdf/clp.h include/lcdf/inttypes.h \ clp.c t1lib.h t1lib.c t1unmac.c t1mac_SOURCES = include/lcdf/clp.h include/lcdf/inttypes.h \ Index: t1utils-1.37/t1asm.c =================================================================== --- t1utils-1.37.orig/t1asm.c +++ t1utils-1.37/t1asm.c @@ -63,6 +63,7 @@ #include #include #include "t1lib.h" +#include "t1asmhelp.h" #define LINESIZE 512 @@ -87,10 +88,6 @@ static int in_eexec = 0; /* need to add 1 as space for \0 */ static char line[LINESIZE + 1]; -/* lenIV and charstring start command */ -static int lenIV = 4; -static char cs_start[10]; - /* for charstring buffering */ static byte *charstring_buf, *charstring_bp; static int charstring_bufsiz; @@ -270,7 +267,7 @@ static void eexec_start(char *string) static int check_line_charstring(void) { char *p = line; - while (isspace(*p)) + while (isspace((unsigned char) *p)) p++; return (*p == '/' || (p[0] == 'd' && p[1] == 'u' && p[2] == 'p')); } @@ -356,8 +353,8 @@ static int CDECL command_compare(const v static int is_integer(char *string) { - if (isdigit(string[0]) || string[0] == '-' || string[0] == '+') { - while (*++string && isdigit(*string)) + if (isdigit((unsigned char) string[0]) || string[0] == '-' || string[0] == '+') { + while (*++string && isdigit((unsigned char) *string)) ; /* deliberately empty */ if (!*string) return 1; @@ -621,7 +618,7 @@ Report bugs to .\n", int main(int argc, char *argv[]) { - char *p, *q, *r; + char *p, *q; Clp_Parser *clp = Clp_NewParser(argc, (const char * const *)argv, sizeof(options) / sizeof(options[0]), options); @@ -735,36 +732,25 @@ particular purpose.\n"); t1utils_getline(); if (!ever_active) { - if (strncmp(line, "currentfile eexec", 17) == 0 && isspace(line[17])) { + if (strncmp(line, "currentfile eexec", 17) == 0 && isspace((unsigned char) line[17])) { /* Allow arbitrary whitespace after "currentfile eexec". Thanks to Tom Kacvinsky for reporting this. Note: strlen("currentfile eexec") == 17. */ - for (p = line + 18; isspace(*p); p++) + for (p = line + 18; isspace((unsigned char) *p); p++) ; eexec_start(p); continue; } else if (strncmp(line, "/lenIV", 6) == 0) { - lenIV = atoi(line + 6); - } else if ((p = strstr(line, "string currentfile")) - && strstr(line, "readstring")) { /* enforce `readstring' */ - /* locate the name of the charstring start command */ - *p = '\0'; /* damage line[] */ - q = strrchr(line, '/'); - if (q) { - r = cs_start; - ++q; - while (!isspace(*q) && *q != '{') - *r++ = *q++; - *r = '\0'; - } - *p = 's'; /* repair line[] */ + set_lenIV(line); + } else if ((p = strstr(line, "string currentfile"))) { + set_cs_start(line); } } if (!active) { - if ((p = strstr(line, "/Subrs")) && isdigit(p[7])) + if ((p = strstr(line, "/Subrs")) && isdigit((unsigned char) p[7])) ever_active = active = 1; - else if ((p = strstr(line, "/CharStrings")) && isdigit(p[13])) + else if ((p = strstr(line, "/CharStrings")) && isdigit((unsigned char) p[13])) ever_active = active = 1; } if ((p = strstr(line, "currentfile closefile"))) { @@ -773,7 +759,7 @@ particular purpose.\n"); /* 1/3/2002 -- happy new year! -- Luc Devroye reports a failure with some printers when `currentfile closefile' is followed by space */ p += sizeof("currentfile closefile") - 1; - for (q = p; isspace(*q) && *q != '\n'; q++) + for (q = p; isspace((unsigned char) *q) && *q != '\n'; q++) /* nada */; if (q == p && !*q) error("warning: `currentfile closefile' line too long"); Index: t1utils-1.37/t1asmhelp.h =================================================================== --- /dev/null +++ t1utils-1.37/t1asmhelp.h @@ -0,0 +1,48 @@ +#ifndef T1ASMHELP_H +#define T1ASMHELP_H + +static int lenIV = 4; + +/* If the line contains an entry of the form `/lenIV ' then set the global + lenIV to . This indicates the number of random bytes at the beginning + of each charstring. */ + +static void +set_lenIV(const char* line) +{ + char *p = strstr(line, "/lenIV "); + + /* Allow lenIV to be negative. Thanks to Tom Kacvinsky */ + if (p && (isdigit((unsigned char) p[7]) || p[7] == '+' || p[7] == '-')) { + lenIV = atoi(p + 7); + } +} + + +static const char* cs_start = ""; + +static void +set_cs_start(const char* line) +{ + static int cs_start_set = 0; + char *p, *q, *r; + + if ((p = strstr(line, "string currentfile")) + && strstr(line, "readstring")) { + /* locate the name of the charstring start command */ + for (q = p; q != line && q[-1] != '/'; --q) + /* nada */; + if (q != line) { + for (r = q; r != p && !isspace((unsigned char) *r) && *r != '{'; ++r) + /* nada */; + if (cs_start_set) + free((char*) cs_start); + cs_start = p = malloc(r - q + 1); + memcpy(p, q, r - q); + p[r - q] = 0; + cs_start_set = 1; + } + } +} + +#endif Index: t1utils-1.37/t1disasm.c =================================================================== --- t1utils-1.37.orig/t1disasm.c +++ t1utils-1.37/t1disasm.c @@ -66,6 +66,7 @@ #include #include #include "t1lib.h" +#include "t1asmhelp.h" #ifdef __cplusplus extern "C" { @@ -74,8 +75,6 @@ extern "C" { typedef unsigned char byte; static FILE *ofp; -static int lenIV = 4; -static char cs_start[10]; static int unknown = 0; /* decryption stuff */ @@ -86,44 +85,6 @@ static uint16_t er_default = 55665; static int error_count = 0; -/* If the line contains an entry of the form `/lenIV ' then set the global - lenIV to . This indicates the number of random bytes at the beginning - of each charstring. */ - -static void -set_lenIV(char *line) -{ - char *p = strstr(line, "/lenIV "); - - /* Allow lenIV to be negative. Thanks to Tom Kacvinsky */ - if (p && (isdigit(p[7]) || p[7] == '+' || p[7] == '-')) { - lenIV = atoi(p + 7); - } -} - -static void -set_cs_start(char *line) -{ - char *p, *q, *r; - - if ((p = strstr(line, "string currentfile"))) { - /* enforce presence of `readstring' -- 5/29/99 */ - if (!strstr(line, "readstring")) - return; - /* locate the name of the charstring start command */ - *p = '\0'; /* damage line[] */ - q = strrchr(line, '/'); - if (q) { - r = cs_start; - ++q; - while (!isspace(*q) && *q != '{') - *r++ = *q++; - *r = '\0'; - } - *p = 's'; /* repair line[] */ - } -} - /* Subroutine to output strings. */ static void Index: t1utils-1.37/t1lib.c =================================================================== --- t1utils-1.37.orig/t1lib.c +++ t1utils-1.37/t1lib.c @@ -53,7 +53,7 @@ translate_hex_string(char *s, char *save char *start = s; char *t = s; for (; *s; s++) { - if (isspace(*s)) + if (isspace((unsigned char) *s)) continue; if (c1) { *t++ = (hexval(c1) << 4) + hexval(*s); @@ -130,10 +130,10 @@ process_pfa(FILE *ifp, const char *ifp_f /* now that we have the line, handle it */ if (blocktyp == PFA_ASCII) { - if (strncmp(line, "currentfile eexec", 17) == 0 && isspace(line[17])) { + if (strncmp(line, "currentfile eexec", 17) == 0 && isspace((unsigned char) line[17])) { char saved_p; /* assert(line == buffer); */ - for (line += 18; isspace(*line); line++) + for (line += 18; isspace((unsigned char) *line); line++) /* nada */; saved_p = *line; *line = 0; @@ -152,12 +152,14 @@ process_pfa(FILE *ifp, const char *ifp_f if (blocktyp == PFA_EEXEC_TEST) { /* 8.Feb.2004: fix bug if first character in a binary eexec block is 0, reported by Werner Lemberg */ - for (; line < last && isspace(*line); line++) + for (; line < last && isspace((unsigned char) *line); line++) /* nada */; if (line == last) continue; - else if (last >= line + 4 && isxdigit(line[0]) && isxdigit(line[1]) - && isxdigit(line[2]) && isxdigit(line[3])) + else if (last >= line + 4 && isxdigit((unsigned char) line[0]) + && isxdigit((unsigned char) line[1]) + && isxdigit((unsigned char) line[2]) + && isxdigit((unsigned char) line[3])) blocktyp = PFA_HEX; else blocktyp = PFA_BINARY; Index: t1utils-1.37/t1mac.c =================================================================== --- t1utils-1.37.orig/t1mac.c +++ t1utils-1.37/t1mac.c @@ -364,10 +364,11 @@ t1mac_output_ascii(char *s, int len) s[len-1] = '\r'; t1mac_output_data((byte *)s, len); if (strncmp(s, "/FontName", 9) == 0) { - for (s += 9; isspace(*s); s++) ; + for (s += 9; isspace((unsigned char) *s); s++) + /* skip */; if (*s == '/') { const char *t = ++s; - while (*t && !isspace(*t)) t++; + while (*t && !isspace((unsigned char) *t)) t++; free(font_name); font_name = (char *)malloc(t - s + 1); memcpy(font_name, s, t - s); @@ -986,11 +987,11 @@ particular purpose.\n"); int part = 0, len = 0; char *x, *s; for (x = s = font_name; *s; s++) - if (isupper(*s) || isdigit(*s)) { + if (isupper((unsigned char) *s) || isdigit((unsigned char) *s)) { *x++ = *s; part++; len = 1; - } else if (islower(*s)) { + } else if (islower((unsigned char) *s)) { if (len < (part <= 1 ? 5 : 3)) *x++ = *s; len++; debian/README.Debian0000664000000000000000000000112111773650453011237 0ustar t1utils for Debian ---------------------- As of version 1.5, the t1utils package contains Eddie Kohler's updated versions of the utilities originally created by I. Lee Hetherington. The (old) t1utils package contained the following utilities: t1ascii, t1binary, t1disasm, t1asm, and unpost This newer t1utils package includes t1ascii, t1binary, t1disasm, t1asm, t1mac, and t1unmac The functionality of unpost is included in t1unmac; t1mac is a new addition (as of version 1.17). -- Claire M. Connelly , Sat, 30 Jun 2012 11:49:15 -0700 debian/rules0000775000000000000000000000277012225554052010260 0ustar #!/usr/bin/make -f # debian/rules file for t1utils package # This file is public domain software, originally written # by Claire Connelly; based on a file written by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DPKG_EXPORT_BUILDFLAGS=1 include /usr/share/dpkg/buildflags.mk build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir dh_autotools-dev_updateconfig ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-warnings # Add here commands to compile the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) clean [ ! -f Makefile ] || $(MAKE) distclean dh_autotools-dev_restoreconfig dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/tmp. $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install # 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_installchangelogs NEWS dh_installdocs dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/watch0000664000000000000000000000023411773650453010233 0ustar # debian/watch for t1utils # mandatory version version=3 # t1utils live on Eddie Kohler's website: http://www.lcdf.org/type/ \ t1utils-([\d\.]*).tar.gz