From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 11 14:40:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1545B106568F for ; Fri, 11 Dec 2009 14:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E618C8FC16 for ; Fri, 11 Dec 2009 14:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBBEe5mT078143 for ; Fri, 11 Dec 2009 14:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBBEe5cS078134; Fri, 11 Dec 2009 14:40:05 GMT (envelope-from gnats) Resent-Date: Fri, 11 Dec 2009 14:40:05 GMT Resent-Message-Id: <200912111440.nBBEe5cS078134@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, Boris Samorodov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65F5B1065679 for ; Fri, 11 Dec 2009 14:36:30 +0000 (UTC) (envelope-from bsam@bb.ipt.ru) Received: from bb.ipt.ru (bb.ipt.ru [194.62.233.89]) by mx1.freebsd.org (Postfix) with ESMTP id DFF388FC13 for ; Fri, 11 Dec 2009 14:36:29 +0000 (UTC) Received: from bb.ipt.ru (localhost [127.0.0.1]) by bb.ipt.ru (8.14.3/8.14.3) with ESMTP id nBBEaTgL056591 for ; Fri, 11 Dec 2009 17:36:29 +0300 (MSK) (envelope-from bsam@bb.ipt.ru) Received: (from bsam@localhost) by bb.ipt.ru (8.14.3/8.14.3/Submit) id nBBEaS7N056590; Fri, 11 Dec 2009 17:36:28 +0300 (MSK) (envelope-from bsam) Message-Id: <200912111436.nBBEaS7N056590@bb.ipt.ru> Date: Fri, 11 Dec 2009 17:36:28 +0300 (MSK) From: Boris Samorodov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/141375: [patch] print/cups-base: create an empty directory for package X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Boris Samorodov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2009 14:40:06 -0000 >Number: 141375 >Category: ports >Synopsis: [patch] print/cups-base: create an empty directory for package >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Dec 11 14:40:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 9.0-CURRENT i386 >Organization: InPharmTech, Co. >Environment: System: FreeBSD bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r200355: Thu Dec 10 15:38:08 MSK 2009 bsam@bb.ipt.ru:/m/home/bsam/FreeBSD/base/head/obj/m/home/bsam/FreeBSD/base/head/src/sys/BB i386 >Description: There is one more empty directory along with DATADIR/profiles is created when the port is installed. It's DATADIR/model. But the last one is not treated with the package. Let's create it. >How-To-Repeat: >Fix: . create DATADIR/model (an empty directory) with a package; . bump PORTREVISION. --- cups-base.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/print/cups-base/Makefile,v retrieving revision 1.131 diff -u -r1.131 Makefile --- Makefile 8 Dec 2009 09:57:19 -0000 1.131 +++ Makefile 11 Dec 2009 14:14:23 -0000 @@ -8,7 +8,7 @@ PORTNAME= cups PORTVERSION= 1.4.2 DISTVERSIONSUFFIX= -source -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION} PKGNAMESUFFIX= ${CUPS_SUFFIX}${PKGNAMESUFFIX2} Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/print/cups-base/pkg-plist,v retrieving revision 1.54 diff -u -r1.54 pkg-plist --- pkg-plist 8 Dec 2009 08:20:56 -0000 1.54 +++ pkg-plist 11 Dec 2009 14:14:23 -0000 @@ -835,6 +835,7 @@ @exec mkdir -p %D/%%DATADIR%%/profiles @dirrm %%DATADIR%%/profiles @dirrm %%DATADIR%%/ppdc +@exec mkdir -p %D/%%DATADIR%%/model @dirrmtry %%DATADIR%%/model @dirrm %%DATADIR%%/mime @dirrm %%DATADIR%%/fonts --- cups-base.diff ends here --- -- WBR, bsam >Release-Note: >Audit-Trail: >Unformatted: