Date: Fri, 11 Dec 2009 17:36:28 +0300 (MSK) From: Boris Samorodov <bsam@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/141375: [patch] print/cups-base: create an empty directory for package Message-ID: <200912111436.nBBEaS7N056590@bb.ipt.ru> Resent-Message-ID: <200912111440.nBBEe5cS078134@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912111436.nBBEaS7N056590>