File: 808_ghostscript_args.patch

package info (click to toggle)
hylafax 3%3A6.0.7-13
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 10,848 kB
  • sloc: sh: 15,305; ansic: 14,429; makefile: 1,562; cpp: 781; awk: 529
file content (48 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Author: 
Description: Add a new security level when invoking gs
Index: hylafax-6.0.6/util/pdf2fax.gs.sh.in
===================================================================
--- hylafax-6.0.6.orig/util/pdf2fax.gs.sh.in	2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/util/pdf2fax.gs.sh.in	2012-06-17 14:17:40.481597758 +0200
@@ -180,6 +180,7 @@
     -dSAFER=true \
     -sPAPERSIZE=$paper \
     $FIXEDWIDTH \
+    -P- \
     $STRIPSIZE \
     -dBATCH \
     -r$hres\x$vres \
Index: hylafax-6.0.6/util/ps2fax.gs.sh.in
===================================================================
--- hylafax-6.0.6.orig/util/ps2fax.gs.sh.in	2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/util/ps2fax.gs.sh.in	2012-06-17 14:17:40.481597758 +0200
@@ -180,6 +180,7 @@
     -dSAFER=true \
     -sPAPERSIZE=$paper \
     $FIXEDWIDTH \
+    -P- \
     $STRIPSIZE \
     -r$hres\x$vres \
     "-sOutputFile=$out" \
Index: hylafax-6.0.6/util/pcl2fax.sh.in
===================================================================
--- hylafax-6.0.6.orig/util/pcl2fax.sh.in	2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/util/pcl2fax.sh.in	2012-06-17 14:17:40.485597781 +0200
@@ -190,6 +190,8 @@
     -sPAPERSIZE=$paper \
     $FIXEDWIDTH \
     -r$hres\x$vres \
+    -P- \
+    -dMaxStripSize=0 \
     "-sOutputFile=$out" \
     "$files"
 
@@ -207,6 +209,8 @@
     -sPAPERSIZE=$paper \
     $FIXEDWIDTH \
     -r$hres\x$vres \
+    -P- \
+    -dMaxStripSize=0 \
     "-sOutputFile=$out" \
     -