debian/0000755000000000000000000000000011533006571007167 5ustar debian/rules0000755000000000000000000000045611533003111010237 0ustar #!/usr/bin/make -f # Use security features with hardening-wrapper export DEB_BUILD_HARDENING=1 %: dh $@ override_dh_auto_configure: dh_auto_configure -- --with-example-dir=\$${prefix}/share/doc/grap/examples override_dh_clean: dh_clean # This was forgotten by upstream rm -f examples/Makefile debian/docs0000644000000000000000000000000711533006314010032 0ustar README debian/watch0000644000000000000000000000022611076655117010230 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://www.lunabase.org/~faber/Vault/software/grap/grap-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000011533005322010607 5ustar debian/patches/0003-Add-missing-format-argument-to-snprintf.patch0000644000000000000000000000132611533005322021740 0ustar From: Tobias Quathamer Date: Mon, 28 Feb 2011 21:14:42 +0100 Subject: [PATCH] Add missing format argument to snprintf Forwarded: Sent e-mail to upstream on 2011-02-28 Author: Tobias Quathamer Bug-Debian: http://bugs.debian.org/614434 Last-Update: 2011-02-28 --- grap.y | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/grap.y b/grap.y index ff79edd..a59c4ba 100644 --- a/grap.y +++ b/grap.y @@ -300,7 +300,7 @@ string: // incrementally more. switch ($5->size()) { case 0: - snprintf(buf, len, $3->c_str()); + snprintf(buf, len, "%s", $3->c_str()); break; case 1: snprintf(buf, len, $3->c_str(), (*$5)[0]); -- debian/patches/0002-Adapt-for-Debian-packaging.patch0000644000000000000000000000241111533005322017124 0ustar From: Tobias Quathamer Date: Mon, 28 Feb 2011 21:02:37 +0100 Subject: [PATCH] Adapt for Debian packaging --- Makefile.in | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 025018f..3926a1b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -94,11 +94,13 @@ grap.ps: grap.1 # records in my CVS stay where they are. grap.1: grap.doc cp grap.doc grap.1 + sed -i -e "s#/usr/local/share/grap/grap.defines#${DEFINESDIR}/grap.defines#g;" grap.1 + sed -i -e "s#/usr/local/share/examples/grap#${EXAMPLEDIR}#g;" grap.1 # The || true lines allow make to continue on systems where install -d # fails on existing directories. install: @INSTALL_DEPS@ - strip grap || true +# strip grap || true ${INSTALL} -d ${DESTDIR}${BINDIR} || true ${INSTALL} -d ${DESTDIR}${MANDIR} || true ${INSTALL} -d ${DESTDIR}${DEFINESDIR} || true @@ -111,8 +113,8 @@ install: @INSTALL_DEPS@ #BSD ports may not want these installed install-docs: - ${INSTALL} -d ${DESTDIR}${DOCDIR} || true - ${INSTALL_DATA} README CHANGES COPYRIGHT grap.man ${DESTDIR}${DOCDIR} +# ${INSTALL} -d ${DESTDIR}${DOCDIR} || true +# ${INSTALL_DATA} README CHANGES COPYRIGHT grap.man ${DESTDIR}${DOCDIR} deinstall: ${RM} ${DESTDIR}${BINDIR}/grap -- debian/patches/series0000644000000000000000000000025611533005322012027 0ustar 0001-Do-not-remove-too-much-upon-make-distclean.patch 0002-Adapt-for-Debian-packaging.patch 0003-Add-missing-format-argument-to-snprintf.patch 0004-Fix-typo-in-manpage.patch debian/patches/0001-Do-not-remove-too-much-upon-make-distclean.patch0000644000000000000000000000106711533005322022234 0ustar From: Tobias Quathamer Date: Mon, 28 Feb 2011 21:02:37 +0100 Subject: [PATCH] Do not remove too much upon make distclean --- Makefile.common | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.common b/Makefile.common index 7c55617..547ef2f 100644 --- a/Makefile.common +++ b/Makefile.common @@ -66,7 +66,7 @@ veryclean: distclean: ${MAKE} veryclean ${MAKE} cleanconfig - ${RM} Makefile .depend config.h manifest ${SPOTLESSFILES} + ${RM} Makefile .depend config.h manifest spotless: ${MAKE} veryclean -- debian/patches/0004-Fix-typo-in-manpage.patch0000644000000000000000000000134111533005322015741 0ustar From: Tobias Quathamer Date: Mon, 28 Feb 2011 21:36:11 +0100 Subject: [PATCH] Fix typo in manpage Forwarded: Sent e-mail to upstream on 2011-02-28 Author: Tobias Quathamer Last-Update: 2011-02-28 --- grap.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/grap.1 b/grap.1 index c3b6b39..e415a03 100644 --- a/grap.1 +++ b/grap.1 @@ -527,7 +527,7 @@ and .Pp Strings placed by either format of the .Ic plot -command are restricted to being within the frame. This can be overriden by +command are restricted to being within the frame. This can be overridden by using the .Ic unclipped attribute, which allows a string to be plotted in or out of the frame. The -- debian/changelog0000644000000000000000000001705111533006406011042 0ustar grap (1.43-2) unstable; urgency=low * Orphan package * Add missing format argument to snprintf. Closes: #614434 * Fix typo in manpage * Use source format 3.0 (quilt) * Switch to debhelper v8 * Reduce debian/rules * Add ${misc:Depends} to Depends * Shorten list of debian/dirs * Update year in debian/copyright * Update Standards-Version to 3.9.1 -- Tobias Quathamer Mon, 28 Feb 2011 22:00:52 +0100 grap (1.43-1) unstable; urgency=low * New Upstream Version * Remove comments from watch file -- Tobias Quathamer Sun, 19 Oct 2008 17:59:43 +0200 grap (1.42-1) unstable; urgency=low * New Upstream Version * Change my last name and adjust copyright years * Update Standards-Version to 3.8.0, no changes needed -- Tobias Quathamer Sat, 04 Oct 2008 09:34:46 +0200 grap (1.41-2) unstable; urgency=low * Apply patches directly and remove quilt from Build-Depends * Build package with hardening-wrapper * Change maintainer e-mail address * Remove DM upload rights -- Tobias Toedter Sat, 31 May 2008 18:36:26 +0200 grap (1.41-1) unstable; urgency=low * New upstream version - Fix a FTBFS bug with GCC 4.3 due to missing #includes. Thanks to Martin Michlmayr for the report. Closes: #455161 * Update Standards-Version to 3.7.3, no changes needed * Move Homepage from long description to control field * Ignore a missing Makefile but catch all other errors in the clean target * Update patches to apply cleanly, no content changes * Allow Debian Maintainer uploads -- Tobias Toedter Wed, 26 Dec 2007 18:36:26 +0100 grap (1.40-1) unstable; urgency=low * New upstream version * Remove script "preinst" to remove the /usr/doc/grap symlink upon upgrade or installation. This has been taken care of with etch. * Update patches to apply cleanly, no content changes * Update copyright file -- Tobias Toedter Tue, 18 Apr 2007 13:45:09 +0200 grap (1.39-2) unstable; urgency=low * Add script preinst to remove the /usr/doc/grap symlink upon upgrade or installation. The previous code in prerm failed to do so. Thanks to David Frey for spotting this. Closes: #380393 * Reformat the long description, including the correct format for "Homepage:" with a leading space * Build-Depends: on quilt, which is now used for managing the patches * Update to Standards-Version 3.7.2, no changes needed -- Tobias Toedter Sun, 30 Jul 2006 18:42:35 +0200 grap (1.39-1) unstable; urgency=low * New upstream version - Includes a patch to fix a compilation error with GCC 4.1. Thanks to Martin Michlmayr for the report and patch. Closes: #357184 - The typo in the README file is now fixed, making the Debian patch unnecessary * Adapted other patches for the new source layout * Made use of configure options --with-defines-dir and --with-example-dir in debian/rules * Build-Depends: debhelper >= 5.0.0 * Bumped debhelper compat file from 4 to 5 * Updated copyright file -- Tobias Toedter Mon, 27 Mar 2006 22:27:03 +0200 grap (1.36-2) unstable; urgency=low * Removed Makefile from the examples/ directory. It's autogenerated and was included in the .diff.gz errorneously, because upstream does not remove it in the distclean target * New patch 30_Makefile.common.diff which does not remove the distributed documentation files in the distclean target * Added homepage URL to the description * Make sure that the location of the example files and the definition file in the man page are correct -- Tobias Toedter Sun, 11 Dec 2005 13:51:58 +0100 grap (1.36-1) unstable; urgency=low * New upstream release - Fixed FTBFS with gcc-4.0. Closes: #286911 * Thanks to Roland Mas for the Non-maintainer upload - Fixed compilation problem with recent flex (patch from Joshua Kwan ). Closes: #191189 * New maintainer. Closes: #321335 * Standards-Version is now 3.6.2, no changes needed * Several minor changes: - Added debhelper and autotools-dev as Build-Depends: - Rewrote debian/rules - Removed the script "prerm" - Removed the article "A" from the short description -- Tobias Toedter Mon, 8 Aug 2005 18:13:17 +0200 grap (1.26-4.1) unstable; urgency=low * Non-maintainer upload according to the release manager's plan. * Fixed compilation problem with recent flex (patch from Joshua Kwan ). (Closes: Bug#191189) -- Roland Mas Sun, 31 Aug 2003 21:59:08 +0200 grap (1.26-4) unstable; urgency=low * Fixed location of defines files in grap source. -- Brian Mays Wed, 8 Jan 2003 12:16:37 -0500 grap (1.26-3) unstable; urgency=low * Fixed bug in clipping routine. -- Brian Mays Mon, 6 Jan 2003 23:41:20 -0500 grap (1.26-2) unstable; urgency=low * Added missing include. (Closes: Bug#175386) -- Brian Mays Sat, 4 Jan 2003 23:00:38 -0500 grap (1.26-1) unstable; urgency=low * New upstream version. -- Brian Mays Wed, 16 Oct 2002 10:59:43 -0400 grap (1.23-3) unstable; urgency=high * Fixed location of grap's examples directory. (Closes: Bug#159770) -- Brian Mays Thu, 5 Sep 2002 17:42:04 -0400 grap (1.23-2) unstable; urgency=medium * Modified postinst to ignore an existing /usr/doc/$package directory. -- Brian Mays Wed, 20 Mar 2002 11:17:19 -0500 grap (1.23-1) unstable; urgency=low * New upstream version. -- Brian Mays Wed, 20 Feb 2002 11:02:42 -0500 grap (1.22-2) unstable; urgency=low * Fixed build process to include the defines files in the package. -- Brian Mays Thu, 7 Feb 2002 12:08:28 -0500 grap (1.22-1) unstable; urgency=low * New upstream version. * Fixed symlink /usr/doc -> ../share/doc. * Fixed reference to GPL. * Improved stripping of binaries. * Modified grap to honor ".lf" commands. * Fixed misspellings of Brian Kernighan's name. (Closes: Bug#124701) -- Brian Mays Fri, 1 Feb 2002 15:42:40 -0500 grap (1.21-1) unstable; urgency=low * New upstream version. * Added patch from LaMont Jones to fix build on hppa. (Closes: Bug#111407) -- Brian Mays Mon, 26 Nov 2001 12:00:49 -0500 grap (1.20-3) unstable; urgency=low * Added patch to fix problems on ia64 (gcc 2.96). (Closes: Bug#109285) * Changed references to the location of files in the documentation. -- Brian Mays Mon, 20 Aug 2001 12:04:58 -0400 grap (1.20-2) unstable; urgency=low * Fixed configure script for gcc 3.0. (Closes: Bug#105009) -- Brian Mays Fri, 27 Jul 2001 15:31:16 -0400 grap (1.20-1) unstable; urgency=low * New upstream version. * Removed "-g" gcc option as per policy. -- Brian Mays Mon, 9 Jul 2001 10:53:53 -0400 grap (1.10-1) unstable; urgency=low * New upstream version. * Added Build-Depends. -- Brian Mays Wed, 20 Sep 2000 13:37:57 -0400 grap (1.05-1) unstable; urgency=low * New upstream version. -- Brian Mays Mon, 10 Apr 2000 22:59:29 -0400 grap (1.02-1) unstable; urgency=low * New upstream version. -- Brian Mays Sun, 12 Mar 2000 11:31:50 -0500 grap (1.01-1) unstable; urgency=low * Initial release. -- Brian Mays Mon, 14 Feb 2000 20:49:36 -0500 debian/control0000644000000000000000000000164011533003100010554 0ustar Source: grap Section: text Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 8), hardening-wrapper, bison, flex Standards-Version: 3.9.1 Homepage: http://www.lunabase.org/~faber/Vault/software/grap/ Package: grap Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: groff Description: program for typesetting graphs This is grap, an implementation of Kernighan and Bentley's grap language for typesetting graphs. The grap preprocessor works with pic and troff (or groff). . Grap is a language for describing graphical displays of data. It provides such services as automatic scaling and labeling of axes, and for statements, if statements, and macros to facilitate user programmability. Grap is intended primarily for including graphs in documents prepared with groff or TeX, and is only marginally useful for elementary tasks in data analysis. debian/compat0000644000000000000000000000000211532775155010377 0ustar 8 debian/source/0000755000000000000000000000000011532776614010502 5ustar debian/source/format0000644000000000000000000000001411532776614011710 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000314611532776275011144 0ustar This package was debianized by Brian Mays on Mon, 14 Feb 2000 20:49:36 -0500. Copyright for the Debian packaging: Brian Mays 2000-2003 Tobias Quathamer 2005-2008, 2011 It was downloaded from http://www.lunabase.org/~faber/Vault/software/grap/ Copyright Holder: Ted Faber License: Copyright 1998-2008 Ted Faber All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/dirs0000644000000000000000000000001711532776163010063 0ustar usr/share/grap