debian/0000775000000000000000000000000011740111656007172 5ustar debian/source/0000775000000000000000000000000011275551775010507 5ustar debian/source/format0000664000000000000000000000001411275551704011705 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000040511337613624010226 0ustar version=3 opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg|repack)(.*)$//i,pasv \ http://www.cs.wisc.edu/~ghost/gsview/epstool.htm (?:.*/)?epstool-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate debian/compat0000664000000000000000000000000211726671607010403 0ustar 9 debian/patches/0000775000000000000000000000000011322157300010611 5ustar debian/patches/01_fix_open_calls.patch0000664000000000000000000000130111276271645015133 0ustar # Description: open() with O_CREAT needs to get a third "mode" argument. --- a/src/epstool.c +++ b/src/epstool.c @@ -2824,7 +2824,7 @@ code = -1; } if ((code==0) && stdout_name && (hChildStdoutWr == -1)) { - handle = open(stdout_name, O_WRONLY | O_CREAT); + handle = open(stdout_name, O_WRONLY | O_CREAT, 0666); hChildStdoutWr = dup2(handle, 1); if (handle != -1) close(handle); @@ -2832,7 +2832,7 @@ code = -1; } if ((code==0) && stderr_name && (hChildStderrWr == -1)) { - handle = open(stderr_name, O_WRONLY | O_CREAT); + handle = open(stderr_name, O_WRONLY | O_CREAT, 0666); hChildStderrWr = dup2(handle, 2); if (handle != -1) close(handle); debian/patches/series0000664000000000000000000000003111276571111012030 0ustar 01_fix_open_calls.patch debian/rules0000775000000000000000000000061511740107557010261 0ustar #!/usr/bin/make -f ## Enable compiler hardening flags. export DEB_BUILD_MAINT_OPTIONS = hardening=+all dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS) dpkg-buildflags export DEB_CFLAGS_MAINT_APPEND = $(shell $(dpkg_buildflags) --get CPPFLAGS) export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_install: override_dh_clean: dh_clean rm -rf bin debian/control0000664000000000000000000000115111726671573010610 0ustar Source: epstool Section: graphics Priority: optional Maintainer: Philip Rinn Build-Depends: debhelper (>= 9) Standards-Version: 3.9.3 Homepage: http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm Package: epstool Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ghostscript Description: edit preview images and fix bounding boxes in EPS files Encapsulated PostScript (EPS) files may contain a preview to be used by programs that can't interpret the PostScript code. epstool can create and extract such previews. . epstool can also calculate an optimal bounding box for an EPS file. debian/changelog0000664000000000000000000001024511740110503011034 0ustar epstool (3.08+repack-3) unstable; urgency=low * Second try: Enable hardened build flags (closes: #667935): - build system doesn't use CPPFLAGS so we append them to CFLAGS. * Fixing debian/copyright. Conversion to DEP-5 was incomplete. -- Philip Rinn Sat, 7 Apr 2012 21:09:34 +0100 epstool (3.08+repack-2) unstable; urgency=low * Bump Standards-Version to 3.9.3 (no changes necessary). * Bump debhelper compat from 7 to 9. * Enable hardened build flags. -- Philip Rinn Sat, 10 Mar 2012 16:29:12 +0200 epstool (3.08+repack-1) unstable; urgency=low * Bump Standards-Version to 3.8.4 (no changes necessary). * Convert to 3.0 (quilt) source format: - use the original upstream tarball. - Remove build dependency: cdbs. * Add debian/watch as recommended by Debian Policy Manual section 4.11. -- Philip Rinn Fri, 19 Feb 2010 13:11:23 +0200 epstool (3.08-5) unstable; urgency=low * New Maintainer (Closes: #547641) -- Philip Rinn Wed, 23 Sep 2009 17:23:40 +0200 epstool (3.08-4) unstable; urgency=low * Orphan package. * debian/control: Bump Standards-Version to 3.8.3 (no changes necessary). -- Martin Pitt Mon, 21 Sep 2009 12:16:38 +0200 epstool (3.08-3) unstable; urgency=low * debian/control: Fix obsolete gs-esp → ghostscript dependency. (Closes: #534899) * debian/control: Add missing ${misc:Depends}. * Bump debhelper compat from 4 to 7. * Bump Standards-Version to 3.8.2 (no changes necessary). * Add 01_fix_open_calls.patch: Supply third "mode" argument to open() with O_CREAT. Fixes FTBFS. * debian/copyright: - Point to versioned GPL license. - Update FSF address. - Add real copyright. * debian/control: Add Homepage field. -- Martin Pitt Sun, 28 Jun 2009 21:42:36 +0200 epstool (3.08-2) unstable; urgency=low * Fix ghostscript dependency (use gs-esp | gs now). -- Martin Pitt Sun, 21 May 2006 13:18:39 +0200 epstool (3.08-1) unstable; urgency=low * New upstream release. -- Martin Pitt Sat, 18 Jun 2005 17:41:10 +0200 epstool (3.07-1) unstable; urgency=low * new upstream version * removed patch 01_fix_bbox_offset.patch; this new version finally plays well with Debian's gs, so this is not necessary any more * debian/rules: removed patch system support -- Martin Pitt Fri, 7 Jan 2005 16:00:02 +0100 epstool (3.06-1) unstable; urgency=low * new upstream version (closes: #289010) * repackaged with cdbs+tarball -- Martin Pitt Thu, 6 Jan 2005 23:11:33 +0100 epstool (3.04-1) unstable; urgency=low * new upstream version (I did not package 3.03 because it was buggy) -- Martin Pitt Fri, 16 Jan 2004 23:21:07 +0100 epstool (3.02-4) unstable; urgency=medium * build package without 64 bit access method on all platforms; this is clearly a kludge since it does not solve the real problem; prio medium since with 'low' glibc would go into testing faster than epstool and this is an RC bug (closes: #219103) -- Martin Pitt Tue, 4 Nov 2003 18:56:04 +0100 epstool (3.02-3) unstable; urgency=low * epstool.c: fixed bounding box calculation (should now work) * updated my maintainer address * corrected long package description * bumped to Standards-Version 3.6.1 -- Martin Pitt Sun, 19 Oct 2003 21:34:23 +0200 epstool (3.02-2) unstable; urgency=low * updated debian/rules to build also on ia64, s390, powerpc, and alpha -- Martin Pitt Tue, 27 May 2003 10:32:19 +0200 epstool (3.02-1) unstable; urgency=low * new upstream version: now includes contributed manpage and fixes in src/unix.mak, some minor bugfixes in DSC parser, some new features * updated to standards version 3.5.10 * debian/rules: changed DEB_BUILD_OPTIONS testing from 'debug' to 'noopt' to conform to policy (closes: #191729) -- Martin Pitt Tue, 6 May 2003 12:54:17 +0200 epstool (3.0-1) unstable; urgency=low * Initial release (closes: #69239) -- Martin Pitt Mon, 28 Apr 2003 08:21:34 +0200 debian/copyright0000664000000000000000000000124311740111566011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: epstool Upstream-Contact: Russell Lang Source: http://www.cs.wisc.edu/~ghost/gsview/epstool.htm Files: * Copyright: 1993-2005, Ghostgum Software Pty Ltd. License: GPL-2+ Files: src/errors.h Copyright: 1989, 1995, 1998-1999, Aladdin Enterprises. License: GPL-2+ Files: debian/* Copyright: 2003-2009, Martin Pitt 2009-2012, Philip Rinn License: GPL-2+ License: GPL-2+ On Debian GNU/Linux systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/epstool.install0000664000000000000000000000013611275631405012251 0ustar bin/epstool usr/bin doc/*.htm usr/share/doc/epstool/html doc/*.css usr/share/doc/epstool/html debian/epstool.manpages0000664000000000000000000000001611275633076012401 0ustar doc/epstool.1