head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.12 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.10 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.8 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.6 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.4 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.2 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.4.0.32 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.30 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.28 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.26 pkgsrc-2008Q1:1.4.0.24 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.22 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.20 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.18 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.16 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.5 date 2008.11.10.18.00.34; author wiz; state dead; branches; next 1.4; 1.4 date 2005.06.09.14.53.49; author salo; state Exp; branches; next 1.3; 1.3 date 99.06.20.15.53.29; author tron; state dead; branches 1.3.12.1; next 1.2; 1.2 date 98.08.07.11.11.21; author agc; state Exp; branches; next 1.1; 1.1 date 98.07.02.14.04.54; author frueauf; state Exp; branches; next ; 1.3.12.1 date 2005.06.09.20.05.49; author snj; state Exp; branches; next ; desc @@ 1.5 log @Update to 4.14. Security problems cited below were already fixed in pkgsrc. Version 4.14 Dec 29, 2007 * New Maintainer. * No UTF-8 support yet ;-< Basically this is a maintenance release. * License: - Now GNU a2ps is licensed under GPLv3 or later. - Removed or replaced non-free/license-wise vague files (see ChangeLog for detail.) * Build: - Now can be built with the modern GNU Autotools. - Now can be built with gcc 3.4 or later. * Predefined delegations: - Add html2ps delegation if netscape don't run. - Now the configure script check if netscape support remote-command. - Now works with modern GV(PostScript and PDF viewer). Tested with 3.6.2. * Options: - Better description on the default output and the -d option. * Encodings: - CP1251. * Bug Fixes: - `input buffer overflow, can't enlarge buffer because scanner uses REJECT' This should no longer happen. - Now works on IA64, PowerPC and AMD64. - Fixed wrong default values for deskjet printers. - Quote arguments to file(1). - Fixed several security issues (CVE-2004-1377). - PS generated by a2ps is now compatible with Adobe Distiller for Mac OS X. * Style sheets: - specc.ssh, thanks to Hideaki Yokota - csharp.ssh, thanks to Karen Christenson - nasm.ssh & pic16f84.ssh, thanks to Aleksandar Veselinovic - small.ssh, thanks Christophe Continente - matlab4.ssh & matlab.ssh, thanks to Joakim Lubeck - stratego.ssh, thanks to Nicolas Tisserand - rd.ssh, s.ssh and st.ssh, thanks to Torsten Hothorn et.al. - ruby.ssh, thanks to Noritsugu Nakamura. - php.ssh, thanks to Hartmut Holzgraefe - udiff.ssh: Improved highlighting for diffs. - perl.ssh: Improved. - Some rules of sheets.map are improved * Contributions: - pdiff: Now pdiff can accept standard input. * Prologues: - Added diffcolor.pro for diffs * Documentation: - Revised. * Translation: - Japanese translation thanks to Yasuyuki Furukawa. - Revised Dutch translation, thanks to Benno Schlenberg. - Revised French translation. * Many other fixes, but the log is rather spotty ;-< * Part of works done at the Codefest Asia 2007 in ITB Bandung, Indonesia. @ text @$NetBSD: patch-ad,v 1.4 2005/06/09 14:53:49 salo Exp $ Fix for CAN-2004-1377 --- contrib/fixps.in.orig 2000-02-21 09:16:15.000000000 +0100 +++ contrib/fixps.in 2005-06-09 16:45:42.000000000 +0200 @@@@ -38,7 +38,6 @@@@ run_gs=0 # What action to perform: fixps, cat, check, and gs task=fixps -tmpdir=/tmp/$program.$$ verbose=echo # The version/usage strings @@@@ -183,6 +182,8 @@@@ exit 1;; esac +tmpdir=`mktemp -d -t fixps.XXXXXX` || { echo "$program: Cannot create temporary directory!" >&2 ; exit 1; } + if test -n "$debug"; then # Set -x now if debugging set -x @@@@ -191,7 +192,6 @@@@ trap "/bin/rm -rf $tmpdir" 0 1 2 3 13 15 fi -mkdir $tmpdir fixps_sed=$tmpdir/fixps.sed # If printing from stdin, save into a tmp file @ 1.4 log @Security fix for CAN-2004-1377: "The fixps and psmandup scripts in a2ps allow local users to overwrite arbitrary files via a symlink attack on temporary files." Patches from Gentoo with few minor issues corrected. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update "a2ps" package to version 4.12. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 1998/08/07 11:11:21 agc Exp $ d3 24 a26 4 --- doc/Makefile.in.orig Thu Jun 25 16:25:37 1998 +++ doc/Makefile.in Wed Jul 1 22:20:37 1998 @@@@ -171,7 +171,7 @@@@ all: Makefile $(INFO_DEPS) $(MANS) d28 2 a29 5 .SUFFIXES: -.SUFFIXES: .dvi .info .ps .texi .texinfo .txi +#.SUFFIXES: .dvi .info .ps .texi .texinfo .txi $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile d31 1 @ 1.3.12.1 log @Pullup ticket 545 - requested by Lubomir Sedlacik security fix for a2ps Revisions pulled up: - pkgsrc/print/a2ps/Makefile 1.54 - pkgsrc/print/a2ps/distinfo 1.9 - pkgsrc/print/a2ps/patches/patch-ad 1.4 - pkgsrc/print/a2ps/patches/patch-ae 1.4 Module Name: pkgsrc Committed By: salo Date: Thu Jun 9 14:53:49 UTC 2005 Modified Files: pkgsrc/print/a2ps: Makefile distinfo Added Files: pkgsrc/print/a2ps/patches: patch-ad patch-ae Log Message: Security fix for CAN-2004-1377: "The fixps and psmandup scripts in a2ps allow local users to overwrite arbitrary files via a symlink attack on temporary files." Patches from Gentoo with few minor issues corrected. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.4 2005/06/09 14:53:49 salo Exp $ d3 4 a6 24 Fix for CAN-2004-1377 --- contrib/fixps.in.orig 2000-02-21 09:16:15.000000000 +0100 +++ contrib/fixps.in 2005-06-09 16:45:42.000000000 +0200 @@@@ -38,7 +38,6 @@@@ run_gs=0 # What action to perform: fixps, cat, check, and gs task=fixps -tmpdir=/tmp/$program.$$ verbose=echo # The version/usage strings @@@@ -183,6 +182,8 @@@@ exit 1;; esac +tmpdir=`mktemp -d -t fixps.XXXXXX` || { echo "$program: Cannot create temporary directory!" >&2 ; exit 1; } + if test -n "$debug"; then # Set -x now if debugging set -x @@@@ -191,7 +192,6 @@@@ trap "/bin/rm -rf $tmpdir" 0 1 2 3 13 15 fi d8 5 a12 2 -mkdir $tmpdir fixps_sed=$tmpdir/fixps.sed a13 1 # If printing from stdin, save into a tmp file @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update to a2ps-4.10.3. @ text @d1 2 @