Browse Source

Daniel Jahre:


			
			
				rocklinux
			
			
		
Daniel Jahre 18 years ago
parent
commit
11ee0e7a26
4 changed files with 26 additions and 63 deletions
  1. +24
    -0
      package/x11/gv/CVE-2006-5864.patch
  2. +0
    -30
      package/x11/gv/anti-alias-default.patch
  3. +0
    -31
      package/x11/gv/gv.conf
  4. +2
    -2
      package/x11/gv/gv.desc

+ 24
- 0
package/x11/gv/CVE-2006-5864.patch

@ -0,0 +1,24 @@
--- ./src/ps.c.sec2 2006-11-09 17:31:34.000000000 +0000
+++ ./src/ps.c 2006-11-09 17:37:07.000000000 +0000
@@ -1423,6 +1423,8 @@
quoted=1;
line++;
while (*line && !(*line == ')' && level == 0 )) {
+ if (cp - text >= PSLINELENGTH - 2)
+ break;
if (*line == '\\') {
if (*(line+1) == 'n') {
*cp++ = '\n';
@@ -1477,8 +1479,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;

+ 0
- 30
package/x11/gv/anti-alias-default.patch

@ -1,30 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/x11/gv/anti-alias-default.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- gv-3.5.8/source/gv_user_res.dat.orig 2003-12-05 19:31:42.000000000 +0100
+++ gv-3.5.8/source/gv_user_res.dat 2003-12-05 19:34:06.000000000 +0100
@@ -8,7 +8,7 @@
GV.fallbackOrientation: portrait
GV.swapLandscape: False
GV.autoCenter: True
-GV.antialias: False
+GV.antialias: True
GV.respectDSC: True
GV.ignoreEOF: True
GV.confirmPrint: True

+ 0
- 31
package/x11/gv/gv.conf

@ -1,31 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/x11/gv/gv.conf
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
gv_main() {
cp doc/gv.man source
sed -i 's,/usr/local/,/usr/,' config.Unix
cd source; ./inc_2lit; cd ..
}
preconf=gv_main
var_append instopt " " "install.man install.doc"

+ 2
- 2
package/x11/gv/gv.desc

@ -36,8 +36,8 @@
[L] GPL
[S] Stable
[V] 3.5.8
[V] 3.6.2
[P] X -?---5---9 132.200
[D] 2283370013 gv-3.5.8.tar.gz ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
[D] 354645246 gv-3.6.2.tar.gz http://ftp.gnu.org/gnu/gv/

Loading…
Cancel
Save