File: 01_debian_changes_to_cups-pdf_conf.patch

package info (click to toggle)
cups-pdf 3.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 328 kB
  • sloc: ansic: 1,031; sh: 148; makefile: 12; python: 11
file content (42 lines) | stat: -rw-r--r-- 1,406 bytes parent folder | download | duplicates (2)
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
Description: Debian changes to the stock upstream configuration.
Author: Martin-Éric Racine <martin-eric.racine@iki.fi>
Forwarded: not-needed
Index: cups-pdf-3.0.1/extra/cups-pdf.conf
===================================================================
--- cups-pdf-3.0.1.orig/extra/cups-pdf.conf
+++ cups-pdf-3.0.1/extra/cups-pdf.conf
@@ -45,10 +45,14 @@
 ##     ${HOME} will be expanded to the user's home directory
 ##     ${USER} will be expanded to the user name
 ##  in case it is an NFS export make sure it is exported without
-##  root_squash! 
+##  root_squash!
+##  NOTE: if AppArmor is installed, the AppArmor profile must
+##  be updated to match the output path below, otherwise file
+##  writing will be denied by AppArmor.
+##  See instructions on Ubuntu Launchpad in LP bug #147551.
 ### Default: /var/spool/cups-pdf/${USER}
 
-#Out /var/spool/cups-pdf/${USER}
+Out ${HOME}/PDF
 
 ### Key: AnonDirName (config)
 ##  ABSOLUTE path for anonymously created PDF files
@@ -190,7 +194,7 @@
 ##  created directories and log files
 ### Default: lp
 
-#Grp lp
+Grp lpadmin
 
 ### Key: AllowUnsafeOptions (config)
 ##  DON'T CHANGE THIS SETTING UNLESS YOU ABSOLUTELY KNOW WHAT YOU ARE DOING
@@ -290,7 +294,7 @@
 ##  0: disable, 1: enable
 ### Default: 0
 
-#DecodeHexStrings 0
+DecodeHexStrings 1
 
 ### Key: FixNewlines (config)
 ##  this option will try to fix various unusal line delimiters (e.g.