From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 26 19:30:20 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61B6A16A40E for ; Mon, 26 Jun 2006 19:30:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B7846520 for ; Mon, 26 Jun 2006 19:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5QJUJrY079417 for ; Mon, 26 Jun 2006 19:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5QJUJLo079416; Mon, 26 Jun 2006 19:30:19 GMT (envelope-from gnats) Resent-Date: Mon, 26 Jun 2006 19:30:19 GMT Resent-Message-Id: <200606261930.k5QJUJLo079416@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Simon Olofsson" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FD7A16A401 for ; Mon, 26 Jun 2006 19:29:54 +0000 (UTC) (envelope-from simon@olofsson.de) Received: from mail-in-01.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21EDE46521 for ; Mon, 26 Jun 2006 19:29:49 +0000 (GMT) (envelope-from simon@olofsson.de) Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id C3F651561E0 for ; Mon, 26 Jun 2006 21:29:48 +0200 (CEST) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id B2E295463D for ; Mon, 26 Jun 2006 21:29:48 +0200 (CEST) Received: from gul.lan.gath3n.de (dslb-084-060-165-055.pools.arcor-ip.net [84.60.165.55]) by mail-in-09.arcor-online.net (Postfix) with SMTP id 3E49C33C307 for ; Mon, 26 Jun 2006 21:29:48 +0200 (CEST) Received: by gul.lan.gath3n.de (sSMTP sendmail emulation); Mon, 26 Jun 2006 21:29:47 +0200 Message-Id: <20060626192948.3E49C33C307@mail-in-09.arcor-online.net> Date: Mon, 26 Jun 2006 21:29:47 +0200 From: "Simon Olofsson" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/99498: [MAINTAINER] print/cups-pdf: Fix for CUPS 1.2.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 19:30:20 -0000 >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: