openbsd-ports/print/cups-pdf/patches/patch-extra_cups-pdf_conf
ajacoutot f4601f3381 Update to cups-pdf-2.6.1.
Use proper SUBST_CMD to not hardcode paths.
By default, save PDFs in the user's HOME.
MESSAGE -> README
2012-04-11 17:29:50 +00:00

46 lines
1.3 KiB
Plaintext

$OpenBSD: patch-extra_cups-pdf_conf,v 1.4 2012/04/11 17:29:50 ajacoutot Exp $
--- extra/cups-pdf.conf.orig Tue Oct 4 18:44:54 2011
+++ extra/cups-pdf.conf Wed Apr 11 19:17:59 2012
@@ -40,7 +40,7 @@
## root_squash!
### Default: /var/spool/cups-pdf/${USER}
-#Out /var/spool/cups-pdf/${USER}
+Out ${HOME}
### Key: AnonDirName
## ABSOLUTE path for anonymously created PDF files
@@ -180,9 +180,9 @@
### Key: Grp
## group cups-pdf is supposed to run as - this will also be the gid for all
## created directories and log files
-### Default: lp
+### Default: _cups
-#Grp lp
+#Grp _cups
###########################################################################
@@ -220,9 +220,9 @@
## location of GhostScript binary (gs)
## MacOSX: for using pstopdf (recommended) set this to /usr/bin/pstopdf
## or its proper location on your system
-### Default: /usr/bin/gs
+### Default: ${LOCALBASE}/bin/gs
-#GhostScript /usr/bin/gs
+#GhostScript ${LOCALBASE}/bin/gs
### Key: GSTmp
## location of temporary files during GhostScript operation
@@ -253,7 +253,7 @@
## set this to an empty value to use no postprocessing
### Default: <empty>
-#PostProcessing
+#PostProcessing ${TRUEPREFIX}/bin/cups-pdf-dispatch
###########################################################################