head 1.10; access; symbols pkgsrc-2013Q2:1.10.0.24 pkgsrc-2013Q2-base:1.10 pkgsrc-2012Q4:1.10.0.22 pkgsrc-2012Q4-base:1.10 pkgsrc-2011Q4:1.10.0.20 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q2:1.10.0.18 pkgsrc-2011Q2-base:1.10 pkgsrc-2009Q4:1.10.0.16 pkgsrc-2009Q4-base:1.10 pkgsrc-2008Q4:1.10.0.14 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.12 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.10 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.8 pkgsrc-2008Q2-base:1.10 pkgsrc-2008Q1:1.10.0.6 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.4 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.2 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.9.0.6 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.4 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.2 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.7.0.16 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.14 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.12 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.10 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.8 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.6 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.4 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.2 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 buildlink2-base:1.3 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1; locks; strict; comment @# @; 1.10 date 2007.07.03.20.01.43; author wiz; state dead; branches; next 1.9; 1.9 date 2006.11.21.13.58.10; author tron; state Exp; branches; next 1.8; 1.8 date 2006.10.23.12.29.56; author tron; state dead; branches; next 1.7; 1.7 date 2004.12.08.03.51.54; author minskim; state Exp; branches 1.7.16.1; next 1.6; 1.6 date 2004.12.01.21.24.30; author xtraeme; state dead; branches; next 1.5; 1.5 date 2003.09.01.10.17.36; author cjep; state Exp; branches; next 1.4; 1.4 date 2003.07.29.16.00.00; author mrg; state Exp; branches; next 1.3; 1.3 date 98.12.23.23.09.59; author frueauf; state dead; branches; next 1.2; 1.2 date 98.08.07.11.11.25; author agc; state Exp; branches; next 1.1; 1.1 date 97.12.29.02.42.28; author hubertf; state Exp; branches; next ; 1.7.16.1 date 2006.11.23.09.03.49; author ghen; state Exp; branches; next ; desc @@ 1.10 log @Update to 3.6.3: %%%%%%%%%%%%%%%%%%% GV 3.6.3 (June 2007) %%%%%%%%%%%%%%%%%%%%%%%%%%%%% # gv is now able to work with latest ghostscript: gs 8.57 # The bug causing the version not to figure in the manual has been fixed. # The SIGINT signal is now masked (ignored) by gv. # gv no more segfaults when reading a configuration file as produced by State -> Setup Options -> Save # gv should compile in non-GNU system that doesnt have glib2. The `getopt' gnulib module has been imported to fix this. # gv now correctly adjust the page index window after PAGE-UP and PAGE-DOWN events. # gv is now able to open files with minus character beginning filenames. # X resources related bugs has been fixed. gv is now able to get resources from the display database, user file, gv system database and command line doing the Right Thing (TM). # gv is now able to correctly understand DocumentMedia and other DSC directives that uses postscript strings. It was not possible with previous versions due to a bug in the postscript names scanning routine. * Vulnerability CVE-2006-5864 has been fixed. * gs is now invoked with `-dFIXEDMEDIA' * The internal gettext implementation has been renamed to `ps_gettext' to avoid collisions with the builtin `gettext' function. * --quiet and --noquiet now works as expected. ? There are troubles with 64 bits machines: the use of x-pointers to store data should be eliminated in subsequent versions. @ text @$NetBSD: patch-ac,v 1.9 2006/11/21 13:58:10 tron Exp $ --- src/ps.c.orig 2006-07-07 16:35:49.000000000 +0100 +++ src/ps.c 2006-11-21 13:49:17.000000000 +0000 @@@@ -1396,6 +1396,8 @@@@ quoted=1; line++; while (*line && !(*line == ')' && level == 0 )) { + if (cp - text >= PSLINELENGTH - 1) + break; if (*line == '\\') { if (*(line+1) == 'n') { *cp++ = '\n'; @@@@ -1450,8 +1452,11 @@@@ } } } else { - while (*line && !(*line == ' ' || *line == '\t' || *line == '\n')) + while (*line && !(*line == ' ' || *line == '\t' || *line == '\n')) { + if (cp - text >= PSLINELENGTH - 2) + break; *cp++ = *line++; + } } *cp = '\0'; if (next_char) *next_char = line; @ 1.9 log @Add security fix for CVE-2006-5864 based on patch taken from Debian Sarge. Bump package revision because of this fix. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Update "gv" package to version 3.6.2. This is release fixes several bugs present in the 3.6.1 release. Based on patches provided by Thomas Klausner in private e-mail. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2004/12/08 03:51:54 minskim Exp $ d3 24 a26 19 --- src/resource.c.orig Sun Nov 14 02:16:12 2004 +++ src/resource.c @@@@ -126,6 +126,7 @@@@ XrmDatabase resource_buildDatabase(displ #ifdef VMS int b; #endif + String rpath; BEGINMESSAGE(resource_buildDatabase) @@@@ -150,7 +151,7 @@@@ XrmDatabase resource_buildDatabase(displ // s = XtResolvePathname(display,"app-defaults",NULL,NULL,NULL,NULL,0,NULL); /* #endif */ - String rpath = GV_XtNewString(GV_LIBDIR); + rpath = GV_XtNewString(GV_LIBDIR); if (rpath) { INFSMESSAGE(merging system resource file into database,rpath) XrmCombineFileDatabase(rpath,&db,True); @ 1.7 log @Make this package build on NetBSD 1.6.2. Patch provided by Bernhard "Burnhard" Riedel in private email. - Remove C99-ism. - Force to use texinfo>=4.2. @ text @d1 1 a1 1 $NetBSD$ @ 1.7.16.1 log @Pullup ticket 1918 - requested by tron security update for gv - pkgsrc/print/gv/Makefile 1.61-1.62 - pkgsrc/print/gv/distinfo 1.14-1.15 - pkgsrc/print/gv/patches/patch-aa 1.14 - pkgsrc/print/gv/patches/patch-ab 1.8 - pkgsrc/print/gv/patches/patch-ac 1.9 - pkgsrc/print/gv/patches/patch-ad 1.5 - pkgsrc/print/gv/patches/patch-ae 1.9 - pkgsrc/print/gv/patches/patch-af 1.6 Module Name: pkgsrc Committed By: tron Date: Mon Oct 23 12:29:56 UTC 2006 Modified Files: pkgsrc/print/gv: Makefile distinfo pkgsrc/print/gv/patches: patch-aa patch-ab patch-ad patch-ae patch-af Removed Files: pkgsrc/print/gv/patches: patch-ac Log Message: Update "gv" package to version 3.6.2. This is release fixes several bugs present in the 3.6.1 release. Based on patches provided by Thomas Klausner in private e-mail. --- Module Name: pkgsrc Committed By: tron Date: Tue Nov 21 13:58:10 UTC 2006 Modified Files: pkgsrc/print/gv: Makefile distinfo Added Files: pkgsrc/print/gv/patches: patch-ac Log Message: Add security fix for CVE-2006-5864 based on patch taken from Debian Sarge. Bump package revision because of this fix. @ text @d3 19 a21 24 --- src/ps.c.orig 2006-07-07 16:35:49.000000000 +0100 +++ src/ps.c 2006-11-21 13:49:17.000000000 +0000 @@@@ -1396,6 +1396,8 @@@@ quoted=1; line++; while (*line && !(*line == ')' && level == 0 )) { + if (cp - text >= PSLINELENGTH - 1) + break; if (*line == '\\') { if (*(line+1) == 'n') { *cp++ = '\n'; @@@@ -1450,8 +1452,11 @@@@ } } } else { - while (*line && !(*line == ' ' || *line == '\t' || *line == '\n')) + while (*line && !(*line == ' ' || *line == '\t' || *line == '\n')) { + if (cp - text >= PSLINELENGTH - 2) + break; *cp++ = *line++; + } } *cp = '\0'; if (next_char) *next_char = line; @ 1.6 log @Update to 3.6.0, based on patch sent by Stefan Krueger in PR pkg/28502. Changes on this release: o New build system using GNU Autotools. o Documentation is now distributed in the texinfo format. o Some bugs (some of them critical) has been fixed. @ text @d1 7 a7 13 $NetBSD: patch-ac,v 1.5 2003/09/01 10:17:36 cjep Exp $ --- source/paths.h.orig 1997-04-06 08:00:00.000000000 +1000 +++ source/paths.h 2003-07-30 01:30:09.000000000 +1000 @@@@ -34,9 +34,9 @@@@ # define INC_XMU(aaa) # define INC_XAW(aaa) #else -# define INC_X11(aaa) -# define INC_XMU(aaa) -# define INC_XAW(aaa) +# define INC_X11(aaa) +# define INC_XMU(aaa) +# define INC_XAW(aaa) d9 1 d11 11 a21 1 #endif /* _PATHS_H_ */ @ 1.5 log @Add NetBSD RCS tags @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @fix some CPP magic (mmm, gcc3.3) @ text @d1 1 @ 1.3 log @Don't install an empty manpage, there is one in the package, pointed out in pr 6632 by Johnny C. Lam. @ text @d1 12 a12 11 $NetBSD: patch-ac,v 1.2 1998/08/07 11:11:25 agc Exp $ --- config.Unix.orig Sun Nov 30 00:39:51 1997 +++ config.Unix Sun Nov 30 00:44:34 1997 @@@@ -110,7 +110,7 @@@@ XCOMM -------------------------------------------------------------------- XCOMM --- Use extra code for setenv() and getenv() ? XCOMM -------------------------------------------------------------------- -#if !defined(LinuxArchitecture) && !defined(FreeBSDArchitecture) +#if !defined(LinuxArchitecture) && !defined(FreeBSDArchitecture) && !defined(NetBSDArchitecture) && !defined(OpenBSDArchitecture) # define USE_SETENV_CODE d15 1 @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fix for NetBSD, by soren@@t.dk. @ text @d1 2 @