Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 21:29:47 +0200
From:      "Simon Olofsson" <simon@olofsson.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/99498: [MAINTAINER] print/cups-pdf: Fix for CUPS 1.2.0
Message-ID:  <20060626192948.3E49C33C307@mail-in-09.arcor-online.net>
Resent-Message-ID: <200606261930.k5QJUJLo079416@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99498
>Category:       ports
>Synopsis:       [MAINTAINER] print/cups-pdf: Fix for CUPS 1.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 26 19:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Simon Olofsson
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD gul.lan.gath3n.de 6.1-STABLE FreeBSD 6.1-STABLE #25: Thu Jun 15 14:44:59 CEST 2006
>Description:
- Starting with version 1.2.0 CUPS implements the "RunAsOption" no longer.
In order to ensure CUPS-PDF is running with the required root privileges
you have to make 'root' the owner of the cups-pdf backend and set the
file permissions of the backend to 0700 (root only).

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- cups-pdf-2.4.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/cups-pdf/Makefile /usr/home/simon/src/ports/print/cups-pdf/Makefile
--- /usr/ports/print/cups-pdf/Makefile	Sat Jun 17 12:46:25 2006
+++ /usr/home/simon/src/ports/print/cups-pdf/Makefile	Mon Jun 26 21:26:26 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	cups-pdf
 PORTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ \
 		http://olofsson.de/mirror/distfiles/
@@ -83,7 +84,7 @@
 	cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o cups-pdf cups-pdf.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend
+	${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend
 	${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor_rev3b.ppd.gz \
 	${LOCALBASE}/share/cups/model/PostscriptColor.ppd.gz
 .if !defined(NOPORTDOCS)
--- cups-pdf-2.4.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060626192948.3E49C33C307>