From 7dc8d90b129e5ba1bc0f32fa0cf5fcc46ef2d98d Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 9 May 2026 06:44:53 +0000 Subject: [PATCH] Update to cups-pdf-3.0.3. --- print/cups-pdf/Makefile | 2 +- print/cups-pdf/distinfo | 4 ++-- .../patches/patch-extra_cups-pdf_conf | 21 ++++++------------- print/cups-pdf/patches/patch-src_cups-pdf_h | 4 ++-- 4 files changed, 11 insertions(+), 20 deletions(-) diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 06df8d3a40a..b4ecf920265 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -1,6 +1,6 @@ COMMENT= PDF backend for CUPS -DISTNAME= cups-pdf-3.0.2 +DISTNAME= cups-pdf-3.0.3 CATEGORIES= print HOMEPAGE= http://www.cups-pdf.de/ diff --git a/print/cups-pdf/distinfo b/print/cups-pdf/distinfo index f6763849725..308406faca2 100644 --- a/print/cups-pdf/distinfo +++ b/print/cups-pdf/distinfo @@ -1,2 +1,2 @@ -SHA256 (cups-pdf_3.0.2.tar.gz) = VihAAfQNqYVOViFVJ+KS3kgRzjSeJ9ej6K3TXHLaL5U= -SIZE (cups-pdf_3.0.2.tar.gz) = 32776 +SHA256 (cups-pdf_3.0.3.tar.gz) = SmbhaXazDzxt9e0RPtnW4T9/NGF+qzSfcLA4L85U4Is= +SIZE (cups-pdf_3.0.3.tar.gz) = 36473 diff --git a/print/cups-pdf/patches/patch-extra_cups-pdf_conf b/print/cups-pdf/patches/patch-extra_cups-pdf_conf index fab518d7025..2bbf5ff232f 100644 --- a/print/cups-pdf/patches/patch-extra_cups-pdf_conf +++ b/print/cups-pdf/patches/patch-extra_cups-pdf_conf @@ -1,8 +1,8 @@ Index: extra/cups-pdf.conf --- extra/cups-pdf.conf.orig +++ extra/cups-pdf.conf -@@ -48,7 +48,7 @@ - ## root_squash! +@@ -49,7 +49,7 @@ + ## root_squash! ### Default: /var/spool/cups-pdf/${USER} -#Out /var/spool/cups-pdf/${USER} @@ -10,7 +10,7 @@ Index: extra/cups-pdf.conf ### Key: AnonDirName (config) ## ABSOLUTE path for anonymously created PDF files -@@ -188,9 +188,9 @@ +@@ -189,9 +189,9 @@ ### Key: Grp (config) ## group cups-pdf is supposed to run as - this will also be the gid for all ## created directories and log files @@ -22,8 +22,8 @@ Index: extra/cups-pdf.conf ### Key: AllowUnsafeOptions (config) ## DON'T CHANGE THIS SETTING UNLESS YOU ABSOLUTELY KNOW WHAT YOU ARE DOING -@@ -236,9 +236,9 @@ - ## location of GhostScript binary (gs) +@@ -237,9 +237,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 @@ -33,13 +33,4 @@ Index: extra/cups-pdf.conf +#GhostScript ${LOCALBASE}/bin/gs ### Key: GSTmp (config) - ## location of temporary files during GhostScript operation -@@ -269,7 +269,7 @@ - ## set this to an empty value to use no postprocessing - ### Default: - --#PostProcessing -+#PostProcessing ${TRUEPREFIX}/bin/cups-pdf-dispatch - - - ########################################################################### + ## location of temporary files during GhostScript operation diff --git a/print/cups-pdf/patches/patch-src_cups-pdf_h b/print/cups-pdf/patches/patch-src_cups-pdf_h index c0dded0d30c..b980308348e 100644 --- a/print/cups-pdf/patches/patch-src_cups-pdf_h +++ b/print/cups-pdf/patches/patch-src_cups-pdf_h @@ -1,7 +1,7 @@ Index: src/cups-pdf.h --- src/cups-pdf.h.orig +++ src/cups-pdf.h -@@ -18,7 +18,7 @@ +@@ -19,7 +19,7 @@ / they are reasonable for most systems. */ /* location of the configuration file */ @@ -10,7 +10,7 @@ Index: src/cups-pdf.h /* --- DO NOT EDIT BELOW THIS LINE --- */ -@@ -57,9 +57,9 @@ struct { +@@ -58,9 +58,9 @@ struct { } configData[] = { { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } }, { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } },